Part Number Hot Search : 
PJQA5V6 2SC4809G M48T37Y CY14B1 AD8607AR M48T37Y 01CHE1 CMD4D13
Product Description
Full Text Search
 

To Download Z87200 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  ds96wrl0400 4-1 4 p roduct s pecification Z87200 4 s pread -s pectrum t ransceiver features n complete direct sequence spread-spectrum transceiver in a single cmos ic n programmable functionality supports many different operational modes n acquires within one symbol duration using digital pn matched filter n two independent pn sequences, each up to 64 chips long for distinct processing of the acquisition/preamble symbol and subsequent data symbols n power management features n optional spectral whitening code generation n full- or half-duplex operation benefits n high performance and high reliability for reduced manufacturing costs n ideal for a wide range of wireless applications including data acquisition systems, transaction systems, and wireless local area networks (wlans) n fast response and very low overhead when operating in burst modes n allows high processing gain to maximize the acquisition probability, then reduced code length for increased data rate n reduced power consumption n randomizes data to meet regulatory requirements n permits dual frequency (frequency division duplex) or single frequency (time division duplex) operation n small footprint, surface mount general description the Z87200 is a programmable single-chip, spread-spec- trum, direct-sequence transceiver. the Z87200 incorpo- rates stanford telecom spread-spectrum and wireless technology and is identical to stanford telecom's stel- 2000a. by virtue of its fast acquisition capabilities and its ability to support a wide range of data rates and spread- spectrum parameters, the Z87200 spread-spectrum trans- ceiver supports the implementation of a wide range of burst data communications applications. available in both 45- and 20-mhz versions, the Z87200 performs all the digital processing required to implement a fast-acquisition direct sequence (such as pseudonoise- or pn-modulated), spread-spectrum full- or half-duplex sys- tem. differentially encoded bpsk and qpsk are fully sup- ported. the receiver section can also handle differentially encoded pi/4 qpsk. a block diagram of the Z87200 is shown in figure 1; its pin configuration is shown in Z87200 receive functions integrate the capabilities of a digital downconverter, pn matched filter, and dpsk demodula- tor, where the input signal is an analog-to-digital converted i.f. signal. Z87200 transmit functions include a differential bpsk/qpsk encoder, pn modulator (spreader), and bpsk/qpsk modulator, where the transmitter output is a sampled digitally modulated signal ready for external digi- device min pn rate* (mchips) max data rate* (mbps) speed (mhz) package Z87200 11 2.048 20/45 100-pin pqfp note: *45 mhz only
Z87200 spread-spectrum transceiver zilog 4-2 ds96wrl0400 general description (continued) tal-to-analog conversion (or, if preferred, the spread base- band signal may be output to an external modulator). these transceiver functions have been designed and inte- grated for the transmission and reception of bursts of spread data. in particular, the pn matched filter has two distinct pn coefficient registers (rather than a single one) in order to speed and improve signal acquisition perfor- mance by automatically switching from one to the other upon signal acquisition. the Z87200 is thus optimized to provide reliable, high-speed wireless data communica- tions. symbol-synchronous pn modulation the Z87200 operates with symbol-synchronous pn mod- ulation in both transmit and receive modes. symbol-syn- chronous pn modulation refers to operation where the pn code is aligned with the symbol transitions and repeats once per symbol. by synchronizing a full pn code cycle over a symbol duration, acquisition of the pn code at the receiver simultaneously provides symbol synchronization, thereby significantly improving overall acquisition time. as a result of the Z87200's symbol-synchronous pn mod- ulation, the data rate is defined by the pn chip rate and length of the pn code; that is, by the number of chips per symbol, where a ?hip?is a single ?it?of the pn code. the pn chip rate, r c chips/second, is programmable to as much as 1/4 the rate of rxifclk, and the pn code length, n, can be programmed up to a value of 64. when operat- ing with bpsk modulation, the data rate for a pn code of length n and pn chip rate r c chips/sec is r c /n bps. when operating with qpsk modulation (or p /4 qpsk with an ex- ternal modulator), two bits of data are transmitted per sym- bol, and the data rate for a pn code of length n and pn chip rate r c chips/sec is 2r c /n bps. conversely, for a giv- en data rate r b bps, the length n of the pn code defines the pn chip rate r c as n x r b chips/sec for bpsk or as (n x r b )/2 chips/sec for qpsk. the data rate r b and the pn code length n, however, can- not generally be arbitrarily chosen. united states fcc part 15.247 regulations require a minimum processing gain of 10 db for unlicensed operation in the industrial, scientific, and medical (ism) bands, implying that the value of n must be at least 10. to implement such a short code, a barker code of length 11 would typically be used in order to obtain desirable auto- and cross-correlation properties, although compliance with fcc regulations depends upon the over- all system implementation. the Z87200 further includes transmit and receive code overlay generators to insure that signals spread with such a short pn code length pos- sess the spectral properties required by fcc regulations. the receiver clock rate established by rxifclk must be at least four times the receive pn spreading rate and is lim- ited to a maximum speed of 45.056 mhz in the 45 mhz Z87200 and 20.0 mhz in the 20 mhz Z87200. the ensuing discussion is in terms of the 45 mhz Z87200, but the nu- merical values may be scaled proportionately for the 20 mhz version. as a result of the maximum 45.056 mhz rx- ifclk, the maximum supported pn chip rate is 11.264 mchips/second. when operating with bpsk modulation, the maximum data rate for a pn code of length n is 11.264/n mbps. when operating with qpsk modulation (or p /4 qpsk with an external modulator), two bits of data are transmitted per symbol, and the data rate for a pn code of length n is 22.528/n mbps. conversely, for a given data rate r b , the length n of the pn code employed must be such that the product of n x r b is less than 11.264 mchips/sec (for bpsk) or 22.528 mchips/sec (for qpsk). for the 45 mhz Z87200, then, a pn code length of 11 im- plies that the maximum data rate that can be supported in compliance with the processing gain requirements of fcc regulations is 2.048 mbps using differential qpsk. note again, however, that fcc compliance using the Z87200 with a pn code of length 11 depends upon the overall sys- tem implementation.
Z87200 zilog spread-spectrum transceiver ds96wrl0400 4-3 4 Z87200 i.f. interface the Z87200 receiver circuitry employs an nco and com- plex multiplier referenced to rxifclk to perform frequen- cy downconversion, where the input i.f. sampling rate and the clock rate of rxifclk must be identical. in ?omplex input?or quadrature sampling mode, external dual ana- log-to-digital converters (adcs) sample quadrature i.f. signals so that the Z87200 can perform true full single sideband downconversion directly from i.f. to baseband. at pn chip rates less than one-eighth the value of rxif- clk, downconversion may also be effected using a single adc in ?eal input?or direct i.f. sampling mode. the input i.f. frequency is not limited by the capabilities of the Z87200. the highest frequency to which the nco can be programmed is 50% of the i.f. sampling rate (the fre- quency of rxifclk); moreover, the signal bandwidth, nco frequency, and i.f. sampling rate are all interrelated, as discussed in higher i.f. frequencies, however, can be supported by using one of the aliases of the nco frequen- cy generated by the sampling process. for example, a spread signal presented to the Z87200? receiver adcs at an i.f. frequency of f i.f. , where f rxifclk < f i.f. < 2 x f rxif- clk , can generally, as allowed by the signal? bandwidth, be supported by programming the Z87200? nco to a fre- quency of (f i.f. - f rxifclk ), as discussed in appendix a of this product specification. the maximum i.f. frequency is then limited by the track-and-hold capabilities of the adc(s) selected. signals at i.f. frequencies up to about 100 mhz can be processed by currently available 8-bit adcs, but the implementation cost as well as the perfor- mance can typically be improved by using an i.f. frequen- cy of 30 mhz or lower. downconversion to baseband is then accomplished digitally by the Z87200, with a pro- grammable loop filter provided to establish a frequency tracking loop. burst and continuous data modes the Z87200 is designed to operate in either burst or con- tinuous mode: in burst mode, built-in symbol counters al- low bursts of up to 65,533 symbols to be automatically transmitted or received; in continuous mode, the data is simply treated as a burst of infinite length. the Z87200? use of a digital pn matched filter for code detection and despreading permits signal and symbol timing acquisition in just one symbol. the fast acquisition properties of this design are exploited by preceding each data burst with a single acquisition/preamble symbol, allowing different pn codes (at the same pn chip rate) to independently spread the acquisition/preamble and data symbols. in this way, a long pn code with high processing gain can be used for the acquisition/preamble symbol to maximize the proba- bility of burst detection, and a shorter pn code can be used thereafter to permit a higher data rate. to improve performance in the presence of high noise and interference levels, the Z87200 receiver? symbol timing recovery circuit incorporates a ?lywheel circuit?to maxi- mize the probability of correct symbol timing. this circuit will insert a symbol clock pulse if the correlation peak ob- tained by the pn matched filter fails to exceed the pro- grammed detect threshold at the expected time during a given symbol. during each burst, a missed detect counter tallies each such event to monitor performance and allow a burst to be aborted in the presence of abnormally high in- terference. a timing gate circuit further minimizes the prob- ability of false correlation peak detection and consequent false symbol clock generation due to noise or interference. to minimize power consumption, individual sections of the device can be turned off when not in use. for example, the receiver circuitry can be turned off during transmission and, conversely, the transmitter circuitry can be turned off during reception when the Z87200 is operating in a half- duplex/time division duplex (tdd) system. if the nco is not being used as the bpsk/qpsk modulator (that is, if an external modulator is being used), the nco can also be turned off during transmission to conserve still more pow- er. conclusion the fast acquisition characteristics of the Z87200 make it ideal for use in applications where bursts are transmitted relatively infrequently. in such cases, the device can be controlled so that it is in full ?leep?mode with all receiver, transmitter, and nco functions turned off over the majority of the burst cycle, thereby significantly reducing the aggre- gate power consumption. since the multiply operations of the pn matched filter consume a major part of the overall power required during receiver operation, two independent power-saving techniques are also built into the pn matched filter to reduce consumption during operation by a significant factor for both short and long pn spreading codes. the above features make the Z87200 an extremely versatile and useful device for spread-spectrum data communications. operating at its highest rates, the Z87200 is suitable for use in wireless local area network implementations, while its programmability allows it to be used in a variety of data acquisition, telemetry, and transaction system applications.
Z87200 spread-spectrum transceiver zilog 4-4 ds96wrl0400 general description (continued) figure 1. Z87200 block diagram tx overlay code generator input data processor txbitpls txtrkpls txin differential encoder qpsk modulator txifout 7-0 txiout txqout tx pn code generators tx clock generator bit clock symbol clock txifclk chip clock txchppls txacqpls frequency control register nco sin cos control and mpu interface mtxen mncoen mrxen rxmabrt mfld /csel /wr /reset data 7-0 addr 6-0 frequency discriminator and loop filter rx overlay code generator differential demodulator output data processor rxout symbol tracking processor power detector rx pn code registers rxqout rxiout /rxdrdy rxsympls corrected bit clock corrected symbol clock 2xchip clock symbol clock matched filter down converter rx clock generator chip clock rxiin 7-0 rxqin 7-0 rxifclk rxmsmpl rxmdet rxtest 7-0 txtest rxactive txactive txmchp txifclk /oen rxifclk dot cross
Z87200 zilog spread-spectrum transceiver ds96wrl0400 4-5 4 pin description figure 2. Z87200 100-pin pqfp pin description vss n/c txactive txiout txqout vdd vss Z87200 100-pin qfp vdd rxqin0 rxqin1 rxqin2 rxqin3 rxqin4 rxqin5 rxqin6 rxqin7 mrxen vdd rxifclk vss txifclk vss /reset mtxen txin txmchp data 0 data 1 data 2 data 3 data 4 data 5 data 6 data 7 /wr /csel vss txifout0 txifout1 txifout2 txifout3 txifout4 txifout5 txifout6 txifout7 vdd vss txbitpls txchppls txtrkpls txacqpls txtest i.c. rxout rxiout rxqout /rxdrdy rxsplpls rxsympls vdd 100 1 95 51015 90 85 80 70 65 60 55 5 0 45 40 35 30 25 20 7 5 vdd n/c rxactive rxmsmpl mncoen rxmabrt rxmdet vss vdd rxiin0 rxiin1 rxiin2 rxiin3 rxiin4 rxiin5 rxiin6 rxiin7 n/c vss mfld vss /oen rxtest0 rxtest1 rxtest2 rxtest3 rxtest4 rxtest5 rxtest7 addr6 addr5 addr4 addr3 addr2 addr1 addr0 vdd vdd rxtest6 vss note: i.c. denotes internal connection. do not use for vias.
Z87200 spread-spectrum transceiver zilog 4-6 ds96wrl0400 pin description (continued) table 1. 100-pin pqfp pin description no symbol function 1,11,31,40,51,6 5,75,81,90 v dd power supply 2 rxqin0 rx q-channel input (bit 0; lsb) 3 rxqin1 rx q-channel input (bit 1) 4 rxqin2 rx q-channel input (bit 2) 5 rxqin3 rx q-channel input (bit 3) 6 rxqin4 rx q-channel input (bit 4) 7 rxqin5 rx q-channel input (bit 5) 8 rxqin6 rx q-channel input (bit 6) 9 rxqin7 rx q-channel input (bit 7; msb) 10 rxxe manual receiver enable 12 rxifclk receiver i.f. clock 13,15,30,39,50, 64,74,80,89 v ss ground 14 txifclk transmitter i.f. clock 16 /reset /reset 17 mtxe manual transmitter enable 18 txin transmitter input 19 txmchp transmitter manual chip pulse 20 data0 data bus (bit 0; lsb) 21 data1 data bus (bit 1) 22 data2 data bus (bit 2) 23 data3 data bus (bit 3) 24 data4 data bus (bit 4) 25 data5 data bus (bit 5) 26 data6 data bus (bit 6) 27 data7 data bus (bit 7; msb) 28 /wr write bar 29 /csel chip select bar 32 addr0 address bus (bit 0; lsb) 33 addr1 address bus (bit 1) 34 addr2 address bus (bit 2) 35 addr3 address bus (bit 3) 36 addr4 address bus (bit 4) 37 addr5 address bus (bit 5) 38 addr6 address bus (bit 6; msb) 41 rxtest7 receiver test output (bit 7) 42 rxtest6 receiver test output (bit 6) 43 rxtest5 receiver test output (bit 5) 44 rxtest4 receiver test output (bit 4) 45 rxtest3 receiver test output (bit 3) 46 rxtest2 receiver test output (bit 2) 47 rxtest1 receiver test output (bit 1) 48 rxtest0 receiver test output (bit 0) 49 /oen output enable bar 52 rxsympls receiver symbol pulse 53 rxsplpls receiver sample pulse 54 /rxdrdy receiver data ready bar 55 rxqout receiver q channel output 56 rxiout receiver i channel output 57 rxout receiver output 58 i.c. [note] 59 txtest transmitter test output 60 txacqpls transmitter acquisition pulse 61 txtrkpls transmitter data track pulse 62 txchppls transmitter chip pulse 63 txbitpls transmitter bit pulse 66 txifout7 tx i.f. output (bit 7, msb) 67 txifout6 tx i.f. output (bit 6) 68 txifout5 tx i.f. output (bit 5) 69 txifout4 tx i.f. output (bit 4) 70 txifout3 tx i.f. output (bit 3) 71 txifout2 tx i.f. output (bit 2) 72 txifout1 tx i.f. output (bit 1) 73 txifout0 tx i.f. output (bit 0, lsb) 76 txqout tx q-channel output 77 txiout tx i-channel output 78 txactive transmitter active 79,82 n.c. no connection 83 rxactive receiver active 84 rxmsmpl receiver manual sample clock 85 mfld manual frequency load 86 mncoen manual nco enable 87 rxmabrt receiver manual abort 88 rxmdet receiver manual detect 91 rxiin0 rx i-channel input (bit 0; lsb) 92 rxiin1 rx i-channel input (bit 1) 93 rxiin2 rx i-channel input (bit 2) 94 rxiin3 rx i-channel input (bit 3) 95 rxiin4 rx i-channel input (bit 4) 96 rxiin5 rx i-channel input (bit 5) 97 rxiin6 rx i-channel input (bit 6) 98 rxiin7 rx i-channel input ( bit 7; msb) 99 n.c. no connection 100 v ss ground note: i.c. denotes internal connection. do not use for vias. table 1. 100-pin pqfp pin description no symbol function
Z87200 zilog spread-spectrum transceiver ds96wrl0400 4-7 4 absolute maximum ratings stresses greater than those listed under absolute maxi- mum ratings may cause permanent damage to the de- vice. this is a stress rating only; operation of the device at any condition above those indicated in the operational sec- tions of these specifications is not implied. exposure to ab- solute maximum rating conditions for extended period may affect device reliability. d.c. characteristics operating conditions: v dd = 5.0v 5%, v ss = 0v symbol parameter range units t stg storage temperature ?5 to +150 c v dd (max) supply voltage on v dd ?.3 to + 7 volts v i (max) input voltage ?.3 to v dd +0.3 volts i i dc input current 10 ma t a operating temperature (ambient) 0 to +70 c t a = 0 to +70 c typ symbol parameter min max @ 25 c units conditions i ddq supply current, quiescent 1.0 ma static, no clock i dd supply current, operational 380 170 [note] ma ma f rxifclk = 45.056 mhz f rxifclk = 20 mhz v ih (min) high level input voltage 0.7v dd v dd +.3 2.6 volts logic ? v il (min) low level input voltage v ss ?3 0.2v dd 1.5 volts logic ? i ih (min) high level input current 10 m a all inputs, v in = v dd i il (max) low level input current ?0 m a txifclk, rxifclk, /reset only, v in = v ss i il (max) low level input current ?30 ?5 ?5 m a all other inputs, v in = v ss v oh (min) high level output voltage v dd ?.4 volts i o = ?.0 ma, all outputs v ol (max) low level output voltage 0.4 0.1 volts i o = +2.0 ma, all outputs i os output short circuit current 20 130 65 ma v out = v dd , v dd = max c input capacitance 2 pf all inputs c out output capacitance 4 pf all outputs notes: 1. the operational supply current depends on how the Z87200 is configured. typical current consumption can be approximated as follows: 2. i dd =5xf rxifclk +13 x f chip ma, 3. where f rxifclk is the frequency of rxifclk and f chip is the pn chip rate, both in mhz.
Z87200 spread-spectrum transceiver zilog 4-8 ds96wrl0400 a.c. characteristics operating conditions: v dd = 5.0v 5%, v ss = 0v t a = 0 to +70 c symbol parameter min max units conditions t su /csel, addr, dbus to write setup 5ns t hd write to csel, addr, dbus hold 5ns t w write pulse width 5 ns figure 3. microprocessor interface timing wr it e csel addr 6-0 data 6-0 valid valid valid valid don't care don't care don't care don't care t su t hd t w
Z87200 zilog spread-spectrum transceiver ds96wrl0400 4-9 4 a.c. characteristics - transmitter operating conditions: v dd = 5.0v 5%, v ss = 0v t a 0 c to +70 c symbol parameter min max units conditions f txifclk txifclk frequency 45.056 20.0 mhz mhz z0200045fsc z0200020fsc or if txifout is used t ch txifclk pulse width, high 10 ns t cl txifclk pulse width, low 10 ns t su txin to txifclk setup 3 ns t hd txin to txifclk hold 5 ns t ct txifclk to txbitpls, txtrkpls, xacqpls, txiout or txqout delay 35 ns notes: 1. the number of txifclk cycles per cycle of txchppls is determined by the data stored in bits 5-0 of address 41 h . it is shown as 2 in figure 8 but can be set from 2 to 64. 2. the width of the txbitpls, txtrkpls and txacqpls signal pulses is equal to the period of txchppls; that is, equal to the pn chip period. 3. in qpsk mode, the txbitpls signal pulses high twice during each symbol period, once during the center chip and once during the last chip. if the number of chips per symbol is even, the number of chip periods between the txbitpls pulse at the end of the previous symbol and the one in the center of the symbol will be one more than the number of chip periods between the txbitpls pulse in the center of the symbol and the one at the end. the falling edge of the second pulse corre- sponds to the end of the symbol period. 4. the txtrkpls signal pulses high once each symbol period, during the last chip period of that symbol. the falling edge cor- responds to the end of the symbol period. 5. the txacqpls signal pulses high once each burst, transmission, during the last chip of the acquisition/preamble symbol. the falling edge corresponds to the end of this symbol period.
Z87200 spread-spectrum transceiver zilog 4-10 ds96wrl0400 figure 4. transmitter input/output timing txi fc lk txi n t ch t cl t su t hd t ct t ct txchppls txbitpls, txtrkpls, txacqpls don't care valid don't care txi out, txqout t ct txifout
Z87200 zilog spread-spectrum transceiver ds96wrl0400 4-11 4 a.c. characteristics - receiver operating conditions: v dd = 5.0v 5%, v ss = 0v t a = 0 to +70 c symbol parameter min max. units conditions f rxifclk rxifclk frequency 45.056 20.0 mhz mhz Z8720045fsc Z8720020fsc t ch rxifclk pulse width, high 10 ns t cl rxifclk pulse width, low 10 ns t su rxiin or rxqin to rxifclk setup 3ns t hd rxiin or rxqin to rxifclk hold 7ns t cr rxifclk to rxsplpls, rxsympls, or /rxdrdy delay 35 ns t cd rxifclk to rxout, rxiout, or rxqout delay 35 ns notes: 1. the number of rxifclk cycles per cycle of rxsplpls is determined by the data stored in bits 5-0 of address 02 h . it is shown as 2 in figure 9, but can be set from 2 to 64. 2. the rising edge of /rxdrdy should be used to clock out the data (rxout, rxiout, or rxqout).
Z87200 spread-spectrum transceiver zilog 4-12 ds96wrl0400 a.c. characteristics figure 5. receiver input/output rxi fc lk rxi in , rxqin rxsplpls rxsympls t ch t cl t su t hd t cr t cr t cd /rxdrdy rxout, rxi out, rxqout
Z87200 zilog spread-spectrum transceiver ds96wrl0400 4-13 4 ac characteristics operating conditions: v dd = 5.0v 5%, v ss = 0v t a = 0 to +70 c symbol parameter min max units t d1 /oen low to rxtest 7-0 active 11 ns t d2 /oen high to rxtest 7-0 tri-state 7 ns figure 6. /oen to rxtest 7-0 timing rxtest 7-0 /oen t d1 t d2 tri-state low impedance state tri-state
Z87200 spread-spectrum transceiver zilog 4-14 ds96wrl0400 functional blocks transmit and receive clock generators timing in the transmitter and receiver sections of the Z87200 is controlled by the transmit and receive clock generator blocks. these blocks are programmable divid- ers providing signals at the chip and symbol rates (as well as at multiples and sub-multiples of these frequencies) as programmed through the Z87200? control registers. if de- sired, the complete independence of the transmitter and receiver sections allows the transmit and receive clocks to be mutually asynchronous. additionally, the Z87200 al- lows external signals to be provided as references for the transmit (txmchp) and receive (rxmsmpl) chip rates. given the transmit pn chip rate, the pn-synchronous transmit symbol rate is then derived from the programmed number of pn chips per transmit symbol. at the receiver, symbol synchronization and the receive symbol rate are determined from processing of the pn matched filter out- put, or, if desired, can be provided from the programmed number of pn chips per receive symbol or an external symbol synch symbol, rxmdet. burst control is achieved by means of the transmit and receive symbols per burst counters. these programmable 16-bit counters allow the Z87200 to operate automatically in burst mode, stopping at the end of each burst without the need of any external counters. input and output processors when the transmitter and receiver are operating in qpsk mode, the data to be transmitted and the received data are processed in pairs of bits (dibits), one bit for the in-phase (i) channel and one for the quadrature (q) channel. dibits are transmitted and received as single differentially encod- ed qpsk symbols. single-bit i/o data is converted to and from this format by the input and output processors, ac- cepting txin as the serial data to be transmitted and pro- ducing rxout as the serial data output. if desired, the re- ceived data is also available at the rxiout and rxqout pins in (i and q) dibit format prior to dibit-to-serial conver- sion. while receive timing is derived by the Z87200 sym- bol tracking processor, transmit timing is provided by the input processor. in bpsk mode, the input processor will generate the txbitpls signal once per symbol to request each bit of data, while in qpsk mode it will generate the txbitpls signal twice per symbol to request the two bits of data corresponding to each qpsk symbol. differential encoder data to be transmitted is differentially encoded before be- ing spread by the transmit pn code. differential encoding of the signal is fundamental to operation of the Z87200? receiver: the Z87200? dpsk demodulator computes ?ot?and ?ross?product functions of the current and pre- vious symbols?downconverted i and q signal components in order to perform differential decoding as an intrinsic part of dpsk demodulation. the differential encoding scheme depends on whether the modulation format is to be bpsk or qpsk. for dbpsk, the encoding algorithm is straightforward: output bit(k) equals input bit(k) ? output bit(k?), where ? represents the logical xor function. for dqpsk, however, the differ- ential encoding algorithm, as shown in table 2, is more complex since there are now sixteen possible new states depending on the four possible previous output states and four possible new input states. table 2. qpsk differential encoder sequence new input previously encoded out(i,q) k-1 in(i,q) k 00011110 0 0 00011110 0 1 01111000 1 1 11100001 1 0 10000111 newly encoded out (i,q)k
Z87200 zilog spread-spectrum transceiver ds96wrl0400 4-15 4 transmitter pn code generation when the Z87200 is used for burst signal operation, each burst is preceded by an acquisition/preamble symbol to facilitate acquisition. this acquisition/preamble symbol is automatically generated by the Z87200? transmitter be- fore information data symbols are accepted for transmis- sion. two separate and independent pn codes may be employed: one for spreading the acquisition/preamble symbol, and one for the subsequent information data sym- bols. as a result, a much higher processing gain may be used for signal acquisition than for signal tracking in order to improve burst acquisition performance. the transmitter acquisition/preamble and transmitter data symbol pn code lengths are completely independent of each other and can be up to 64 chips long. transmit pn codes are programmed in the Z87200 as binary code val- ues. the number of transmitter chips per acquisition/pre- amble symbol is set by the value stored in bits 5-0 of ad- dress 43 h , and the transmitter acquisition/preamble symbol code coefficient values are stored in addresses 44 h to 4b h . the number of transmitter chips per data symbol is set by the data stored in address 42 h , and the transmitter data symbol code coefficient values are stored in addresses 4c h to 53 h . a rising edge of the mtxen input or of bit 1 of address 37 h causes the Z87200 to begin the transmit sequence by transmitting a single symbol using the acquisition/pream- ble pn code. the completion of transmission of the acqui- sition/preamble symbol is indicated with txacqpls, while the ongoing transmission of data symbols is signaled with txtrkpls. data bits to be transmitted after the ac- quisition/preamble symbol are requested with txbitpls, where a single pulse requests data in bpsk mode and two pulses request data in qpsk mode. the user data sym- bols are then pn modulated using the transmitter data symbol pn code. the pn spreading codes are xored with the data bits (in bpsk mode) or bit pairs (in qpsk mode) to transmit one complete code sequence for every acquisition/preamble and data symbol at all times. the resulting spread i and q channel signals are brought out as the txiout and tx- qout signals for use by an external modulator and are also fed into the Z87200? internal on-chip modulator. in bpsk mode, only txiout is used by the Z87200? modu- lator. if an external qpsk modulator is used, the carrier should be modulated as shown in table 3 to be compatible with the Z87200 receiver. bpsk/qpsk modulator the Z87200 incorporates an on-chip bpsk/qpsk modu- lator which modulates the encoded and spread transmit signal with the sine and cosine outputs of the Z87200? nco to generate a digitized i.f. output signal, txifout 7- 0 . since the nco operates at a rate defined by rxifclk, the bpsk/qpsk modulator output is also generated at this sampling rate, and, consequently, txifclk must be held common with rxifclk to operate the Z87200? bpsk/qpsk modulator. the digital modulator output sig- nal can then be fed into an external 8-bit dac (operating at rxifclk) to generate an analog i.f. transmit signal, where the chosen i.f. is the Z87200? programmed nco frequency or one of its aliases with respect to the output sampling rate, rxifclk. please note that operation of the bpsk/qpsk modulator is only specified to 20 mhz; that is, if rxifclk/txifclk is greater than 20 mhz in the system design, it is recommended that the baseband transmit out- puts of the Z87200 be used with an external bpsk/qpsk modulator. when the Z87200 is set to transmit in bpsk mode (by set- ting bit 0 of address 40 h high), identical signals are applied to both the i and q channels of the modulator so that the modulated output signal occupies only the first and third quadrants of the signal space defined in note that the modulator itself cannot generate p /4 qpsk signals, but the Z87200 can receive such signals and can be used with an external modulator for their transmission. table 3. dqpsk differential encoder sequence i, q bits signal quadrant quadrant diagram 0 0 first 2nd 1st 1 0 second 3rd 4th 1 1 third 0 1 fourth
Z87200 spread-spectrum transceiver zilog 4-16 ds96wrl0400 functional blocks (continued) frequency control register and nco the Z87200 incorporates a numerically controlled oscil- lator (nco) to synthesize a local oscillator signal for both the transmitter? modulator and receiver? downconverter. the nco is clocked by the master receiver clock signal, rxifclk, and generates quadrature outputs with 32-bit frequency resolution. the nco frequency is controlled by the value stored in the 32-bit frequency control register, occupying 4 bytes at addresses 03 h to 06 h . to avoid de- structive in-band aliasing, the nco should not be pro- grammed to be greater than 50% of rxifclk. as desired by the user, the output of the Z87200 receiver? loop filter can then be added or subtracted to adjust the nco? fre- quency control word and create a closed-loop frequency tracking loop. if the receiver is disabled, either manually or automatically at the end of a burst, the loop filter output correcting the nco? frequency control word is disabled. when simultaneously operating both the transmitter and receiver, however, the receiver? frequency tracking loop affects the nco signals to both the receive and transmit sides, a feature which can either be used to advantage in the overall system design or must be compensated in the programming of the Z87200 or in the system design. downconverter the Z87200 incorporates a quadrature (single sideband) downconverter which digitally downconverts the sampled and digitized receive i.f. signal to baseband. use of the loop filter and the nco? built-in frequency tracking loop permits the received signal to be accurately downconvert- ed to baseband. the downconverter includes a complex multiplier in which the 8-bit receiver input signal is multiplied by the sine and cosine signals generated by the nco. in quadrature sam- pling mode, two adcs provide quadrature (complex) in- puts i in and q in , while, in direct i.f. sampling mode, a sin- gle adc provides i in as a real input. the input signals can be accepted in either two? complement or offset binary formats according to the setting of bit 3 of address 01 h . in direct i.f. sampling mode, the unused rxqin q channel input (q in ) should be held to ?ero?according to the adc input format selected. the outputs of the downconverter? complex multiplier are then: i out = i in . cos( w t) ? q in . sin( w t) q out = i in . s in ( w t) + q in . cos( w t) where w =2 p f nco these outputs are fed into the i and q channel integrate and dump filters. the integrate and dump filters allow the samples from the complex multiplier (at the i.f. sam- pling rate, the frequency of rxifclk) to be integrated over a number of sample periods. the dump rate of these filters (the baseband sampling rate) can be controlled either by an internally generated dump clock or by an external input signal (rxmsmpl) according to the setting of bit 0 of ad- dress 01 h . note that, while the receiver will extract exact pn and symbol timing information from the received sig- nal, the baseband sampling rate must be twice the nominal pn chip rate for proper receiver operation and less than or equal to one-half the frequency of rxifclk. if twice the pn chip rate is a convenient integer sub-multiple of rxif- clk, then an internal clock can be derived by frequency di- viding rxifclk according to the divisor stored in bits 5-0 of address 02 h ; otherwise, an external baseband sampling clock provided by rxmsmpl must be used. the i.f. sampling rate, the baseband sampling rate, and the input signal levels determine the magnitudes of the in- tegrate and dump filters?accumulator outputs, and a pro- grammable viewport is provided at the outputs of the inte- grate and dump filters to select the appropriate output bits as the 3-bit inputs to the pn matched filter. the viewport circuitry here and elsewhere within the Z87200? receiver is designed with saturation protection so that extreme val- ues above or below the selected range are limited to the correct maximum or minimum value for the selected view- port range. both viewports for the i and q channels of the integrate and dump filters are controlled by the values stored in bits 7-4 of address 01 h . receiver pn code register and pn matched filter as discussed for the Z87200 transmitter, the Z87200 re- ceiver is designed for burst signal operation in which each burst begins with a single acquisition/preamble symbol and is then followed by data symbols for information trans- mittal. complementing operation of the Z87200? transmit- ter, two separate and independent pn codes may be em- ployed in the receiver? pn matched filter, one for despreading the acquisition/preamble symbol, and one for the information data symbols. the code lengths are com- pletely independent of each other and can be each up to 64 chips long. a block diagram of the pn matched filter is shown in figure 3.
Z87200 spread-spectrum transceiver zilog 4-17 ds96wrl0400 the Z87200 contains a fully programmable 64-tap com- plex (dual i and q channel) pn matched filter with coeffi- cients which can be set to 1 or zero according to the con- tents of either the acquisition/preamble or data symbol code coefficient registers. by setting the coefficients of the end taps of the filter to zero, the effective length of the filter can be reduced for use with pn codes shorter than 64 bits. power consumption may also be reduced by turning off those blocks of 7 taps for which all the coefficients are zero, using bits 6-0 of address 39h. each ternary coeffi- cient is stored as a 2-bit number so that a pn code of length n is stored as n 2-bit non-zero pn coefficients. note that, as a convention, throughout this document the first pn matched filter tap encountered by the signal as it en- ters the i and q channel tapped delay lines is referred to as ?ap 0.?tap 63 is then the last tap of the pn matched filter. the start of each burst is expected to be a single symbol pn-spread by the acquisition/preamble code. the receiv- er section of the Z87200 is automatically configured into acquisition mode so that the matched filter acquisi- tion/preamble coefficients stored in addresses 07 h to 16 h are used to despread the received signal. provided that this symbol is successfully detected, the receiver will auto- matically switch from acquisition mode, and the matched filter data symbol coefficients stored in addresses 17 h to 26 h will then be used to despread subsequent symbols. to allow the system to sample the incoming signal asyn- chronously (at the i.f. sampling rate) with respect to the pn spreading rate, the pn matched filter is designed to operate with two signal samples (at the baseband sam- pling rate) per chip. a front end processor (fep) operating on both the i and q channels averages the incoming data over each chip period by adding each incoming baseband sample to the previous one: fep out = fep in (1 + z ? ) after the addition, the output of the fep is rounded to a 3- bit offset 2? complement word with an effective range of 3.5 such that the rounding process does not introduce any bias to the data. the fep can be disabled by setting bit 0 of address 27 h to 1, but for normal operation the fep should be enabled. the pn matched filter computes the cross-correlation be- tween the i and q channel signals and the locally stored pn code coefficients at the baseband sampling rate, which is twice per chip. the 3-bit signals from each tap in the pn matched filter are multiplied by the corresponding coeffi- cient in two parallel tapped delay lines. each delay line consists of 64 multipliers which multiply the delayed 3-bit signals by zero or 1 according to the value of the tap coefficient. the products from the i and q tapped delay lines are added together in the i and q adders to form the sums of the products, representing the complex cross-cor- relation factor. the correlation i and q outputs are thus: n = 63 output (i, q) = s data n(i, q) * coefficient n(i, q) n = 0 these i and q channel pn matched filter outputs are 10- bit signals, with i and q channel programmable viewports provided to select the appropriate output bits as the 8-bit inputs to the power detector and dpsk demodulator blocks. both i and q channel viewports are jointly con- trolled by the data stored in bits 1-0 of address 28 h and are saturation protected. two power saving methods are used in the pn matched filter of the Z87200. as discussed previously, the first method allows power to be shut off in the unused taps of the pn matched filter when the filter length is configured to be less than 64 taps. the second method is a propri- etary technique that (transparently to the user) shuts down the entire pn matched filter during portions of each sym- bol period.
Z87200 spread-spectrum transceiver zilog 4-18 ds96wrl0400 functional blocks (continued) power detector the complex output of the pn matched filter is fed into a power detector which, for every cycle of the internal base- band sampling clock, computes the magnitude of the vec- tor of the i and q channel correlation sums, i 2 (k)+q 2 (k), where the magnitude is approximated as max{abs(i),abs(q)} + 1/2 min{abs(i), abs(q)}. this 10-bit value represents the power level of the corre- lated signal during each chip period and is used in the symbol tracking processor. symbol tracking processor the output of the power detector block represents the sig- nal power during each chip period. ideally, this output will have a high peak value once per symbol (that is, once per pn code cycle) when the code sequence of the received signal in the pn matched filter is the same as (and is aligned in time with) the reference pn code used in the pn matched filter. at that instant, the i and q channel outputs of the pn matched filter are, theoretically, the optimally despread i and q symbols. figure 7. pn matched filter
Z87200 zilog spread-spectrum transceiver ds96wrl0400 4-19 4 to detect this maximum correlation in each symbol period, the signal power value is compared against a 10-bit user- programmable threshold value. a symbol clock pulse is generated each time the power value exceeds the thresh- old value to indicate a symbol detect. since the acquisi- tion/preamble symbol and subsequent data symbols can have different pn codes with different peak correlation val- ues (which depend on the pn code length and code prop- erties), the Z87200 is equipped with two separate thresh- old registers to store the acquisition/preamble threshold value (stored in addresses 29 h and 2a h ) and the data symbol threshold value (stored in addresses 2b h and 2c h ). the device will automatically use the appropriate value depending on whether it is in acquisition mode or not. since spread-spectrum receivers are frequently designed to operate under extremely adverse signal-to-noise ratio conditions, the Z87200 is equipped with a ?lywheel circuit to enhance the operation of the symbol tracking function by introducing memory to the pn matched filter operation. this circuit is designed to ignore false detects at inappro- priate times in each symbol period and to insert a symbol clock pulse at the appropriate time if the symbol detection is missed. the flywheel circuit operates by its a priori knowledge of when the next detect pulse is expected. a priori , the expected pulse will occur one symbol period af- ter the last correctly detected one, and a window of 1 baseband sample time is therefore used to gate the detect pulse. any detects generated outside this time window are ignored, while a symbol detect pulse will be inserted into the symbol clock stream if the power level does not exceed the threshold within the window, corresponding to a missed detect. an inserted symbol detect signal will be generated precisely one symbol after the last valid detect, the nominal symbol length being determined by the value of rx chips per data symbol stored in address 2d h . the cross-correlation characteristics of a noisy received signal with the noise-free local pn code used in the Z87200? pn matched filter may result in ?mearing?of the peak power value over adjacent chip periods. such smearing can result in two or three consecutive power val- ues (typically, the on-time and one-sample early and late values) exceeding the threshold. a maximum power selec- tor circuit is incorporated in the Z87200 to choose the high- est of any three consecutive power levels each time this occurs, thereby enhancing the probability that the optimum symbol timing will be chosen in such cases. if desired, this function can be disabled by setting bit 3 of address 30 h high. the Z87200 also includes a circuit to keep track of missed detects; that is, those cases where no peak power level ex- ceeds the set threshold. an excessively high rate of missed detects is an indication of poor signal quality and can be used to abort the reception of a burst of data. the number of symbols expected in each receive burst, up to a maximum of 65,533, is stored in addresses 2e h and 30 h . a counter is used to count the number of missed detects in each burst, and the system can be configured to automat- ically abort a burst and return to acquisition mode if this number exceeds the missed detects per burst threshold value stored in address 2f h . under normal operating con- ditions, the Z87200 will automatically return to acquisition mode when the number of symbols processed in the burst is equal to the value of the data stored in address 2e h and 30 h . to permit the processing of longer bursts or continu- ous data, this function can be disabled by setting bit 6 of address 30 h high. differential demodulator both dpsk demodulation and carrier discrimination are supported in the Z87200 receiver by the calculation of ?ot?and ?ross?products using the despread i and q channel information generated by the pn matched filter for the current and previous symbols. a block diagram of the dpsk demodulator? i and q channel processing is shown in let i k and q k represent the i and q channel out- puts, respectively, for the k th symbol. the dot and cross products can then be defined as: dot(k) = i k i k-1 + q k q k-1 ; and, cross(k) = q k i k-1 - i k q k-1 . examination of these products in the complex plane re- veals that the dot and cross products are the real and imaginary results, respectively, of complex multiplication of the current and previous symbols. the dot product alone thus allows determination of the phase shift between successive bpsk symbols, while the dot and cross prod- ucts together allow determination of the integer number of p /2 phase shifts between successive qpsk symbols. dif- ferential encoding of the source data implies that an abso- lute phase reference is not required, and thus knowledge of the phase shift between successive symbols derived from the dot and cross products unambiguously permits correct demodulation. implementation of this approach is simplified if the polari- ties (the signs) alone of the dot and cross products pro- vide the information required to make the correct symbol decision. for bpsk and p /4 qpsk signals, no modifica- tions are needed: in bpsk, the sign of the dot product fully captures the signal constellation, while, in p /4 qpsk, the signal constellation intrinsically includes the phase rotation needed to align the decision boundaries with the four pos- sible combinations of the dot and cross product polarities. for qpsk signals, a fixed phase rotation of p /4 (45 ) is in- troduced in the dpsk demodulator to the previous symbol to simplify the decision algorithm. rotation of the previous symbol is controlled by the settings of bits 0 and 1 of ad- dress 33 h , allowing the previous symbol to be rotated by 0 or 45 . as noted, for bpsk or p /4 qpsk signals, a ro- tation of 0 should be programmed, but, for qpsk signals,
Z87200 spread-spectrum transceiver zilog 4-20 ds96wrl0400 functional blocks (continued) a ?5 signal rotation must be programmed to optimize the constellation boundaries in the comparison process be- tween successive symbols. note also that introduction of a 45 rotation introduces a scaling factor of 1/ ? 2 to the sig- nal level in the system as discussed in theory of opera- tion, where this factor should be taken into account when calculating optimum signal levels and viewport settings af- ter the dpsk demodulator frequency discriminator and loop filter the frequency discriminator uses the dot and cross products discussed above to generate the afc signal for the frequency acquisition and tracking loop, as illustrated in the specific algorithm used depends on the signal mod- ulation type and is controlled by the setting of bit 2 of ad- dress 33 h . when bit 2 is set low, the frequency discrimi- nator circuit is in bpsk mode and the following algorithm is used to compute the frequency discriminator (fd) func- tion: fd = cross x sign[dot], where sign[.] represents the polarity of the argument. when bit 2 is set high, the discriminator circuitry is in qpsk mode and the carrier discriminator function is in- stead calculated as: fd = (cross x sign[dot]) ?(dot x sign[cross]). in both cases, the frequency discriminator function pro- vides an error signal that reflects the change in phase be- tween successive symbols. with the symbol period known, the error signal can equivalently be seen as a frequency error signal. as a practical matter, the computation of the frequency discriminator function results in a 17-bit signal, and a programmable saturation protected viewport is pro- vided to select the desired output bits as the 8-bit input to the loop filter block. the viewport is controlled by the val- ue stored in bits 7-4 of address 33 h . the loop filter is implemented with a direct gain (k1) path and an integrated or accumulated (k2) path to filter the frequency discriminator error signal and correct the fre- quency tracking of the downconverter. the order of the loop filter transfer function can be set by enabling or dis- abling the k1 and k2 paths, and the coefficient values can be adjusted in powers of 2 from 2 0 to 2 21 . the loop filter transfer function is: transfer fn. = k1 + 1/4 k2 figure 8. dpsk demodulator i and q channel processing
Z87200 zilog spread-spectrum transceiver ds96wrl0400 4-21 4 the factor of 1/4 results from truncation of the 2 lsbs of the signal in the integrator path of the loop so that, when added to the signal in the direct path, the lsbs of the sig- nals are aligned. the coefficients k1 and k2 are defined by the data stored in bits 4-0 of addresses 35 h and 34 h , re- spectively. in addition, bit 5 of addresses 35 h and 34 h con- trol whether the k1 and k2 paths, respectively, are en- abled. these parameters thus give the user full control of the loop filter characteristics. rxiin 7-0 (pins 91-98) receiver in-phase input. rxiin is an 8-bit input port for in-phase data from external a/d converters. data may be received in either two? complement or offset binary format as selected by bit 3 of address 01 h . the sampling rate of the rxiin signals (the i.f. sampling rate of the a/ds) may be independent of the baseband sampling rate (the down- converter integrate and dump rate) and the pn chip rate, but must be equal to rxifclk and at least two times greater than the baseband sampling rate. since the base- band sampling rate must be set at twice the pn chip rate, the i.f. sampling rate must thus be at least four times the pn chip rate. data on the pins is latched and processed by rxifclk. rxqin 7-0 (pins 2-9) receiver quadrature-phase input. rxqin is an 8-bit in- put port for quadrature-phase data from external a/d con- verters. data may be received in either two? complement or offset binary format as selected by bit 3 of address 01 h . as with rxiin, the sampling rate of the rxqin signals may be independent of the baseband sampling and pn chip rates in the receiver, but must be at least two times greater than the baseband sample rate (or, equivalently, at least four times greater than the pn chip rate). data on the pins is latched and processed by rxifclk. figure 9. frequency discriminator and loop filter detail
Z87200 spread-spectrum transceiver zilog 4-22 ds96wrl0400 functional blocks (continued) note that if the Z87200 is to be used in direct i.f. sampling mode, then the i.f. signal should be input to the rxiin in- put port only. rxqin must then be held to arithmetic zero according to the chosen adc format as selected by bit 3 of address 01 h . in other words, to support direct i.f. sam- pling, rxqin must be tied to a value of 127 or 128 if offset binary input format has been selected or to a value of 0 if two? complement input format has been selected. rxmsmpl (pin 84) receiver manual sample clock. rxmsmpl enables the user to externally generate (independent of the i.f. sam- pling clock, rxifclk) the baseband sampling clock used for all processing after the digital downconverter, including the dump rate of the integrate and dump filters. this fea- ture is useful in cases where a specific baseband sample rate is required that may not be derived by the internal sample rate timing generator which generates clock sig- nals at integer sub-multiples of rxifclk. the signal is in- ternally synchronized to rxifclk to avoid intrinsic race or hazard timing conditions. there must be at least two cy- cles of rxifclk to every cycle of rxmsmpl, and rxmsmpl should be set to twice the nominal receive pn chip rate. when bit 0 of address 01 h is set high, a rising edge on rxmsmpl will initiate a baseband sampling clock pulse to the integrate and dump filters and subsequent circuitry (e.g., pn matched filter, dpsk demodulator, power esti- mator, etc.). the rising edge of rxmsmpl is synchronized internally so that, on the second rising edge of rxifclk that follows the rising edge of rxmsmpl, a pulse is inter- nally generated that clocks the circuitry that follows. on the third rising rxifclk edge, the contents of the integrate and dump filters of the downconverter are transferred to the pn matched filter. the extra one rxifclk delay be- fore transfer of the contents of the filters enables the inter- nally generated baseband sampling clock to be free of race conditions at the interface between the downconvert- er and pn matched filter. rxmdet (pin 88) receiver manual detect. rxmdet enables the user to externally generate symbol timing, bypassing and overrid- ing the internal symbol power estimation and tracking cir- cuitry. this function may be useful when the dynamic char- acteristics of the transmission environment require unusual adjustments to the symbol timing. when bit 0 of address 30 h is set high (manual detect en- able) and when bit 0 of address 31 h is set low, a rising edge of rxmdet will generate a symbol correlation detect pulse. the function can also be performed by means of bit 0 of address 31 h . the rxmdet input and bit 0 of address 31 h are logically ored together so that, when either one is held low, a rising edge on the other triggers the manual detect function. the rising edge of rxmdet is synchro- nized internally so that, on the second rising edge of the baseband sampling clock that follows the rising edge of rxmdet, the correlated outputs of the pn matched filter i and q channels will be transferred to the dpsk demodu- lator. rxmabrt (pin 87) receiver manual abort. rxmabrt enables the user to manually force the Z87200 to cease reception of the cur- rent burst of data symbols and prepare for acquisition of a new burst. this function can be used to reset the receiver and prepare to receive a priority transmission signal under precise timing control, giving the user the ability to control the current status of the receiver for reasons of priority, sig- nal integrity, etc. when bit 0 of address 32 h is set low, a rising edge on rxmabrt will execute the abort function. the function can also be performed under microprocessor control by means of bit 0 of address 32 h . the rxmabrt input and bit 0 of address 32 h are logically ored together so that, when either one is held low, a rising edge on the other trig- gers the abort function. the second rising edge of the baseband sampling clock that follows a rising edge of rxmabrt will execute the abort and also clear the sym- bols-per-burst, samples-per-symbol, and missed-detects- per-burst counters. the counters will be reactivated on the detection of the next burst preamble or by a manual detect signal. rxifclk (pin 12) receiver i.f. clock. rxifclk is the master clock of the nco and all the receiver blocks. all clocks in the receiver section and the nco, internal or external, are generated or synchronized internally to the rising edge of rxifclk. the frequency of rxifclk must be at least four times the pn chip rate of the received signal. when bit 0 of address 01 h is set low, the baseband sampling clock, required to be at twice the nominal pn chip rate, will be derived from rxif- clk according to the setting of bits 5-0 of address 02 h . mncoen (pin 86) manual nco enable. mncoen allows the power con- sumed by the operation of the nco circuitry to be mini- mized when the Z87200 is not receiving and not transmit- ting data. the nco can also be disabled while the Z87200 is transmitting as long as the Z87200? on-chip bpsk/qpsk modulator is not being used. with the instan- taneous acquisition properties of the pn matched filter, it is often desirable to shut down the receiver circuitry to re- duce power consumption, resuming reception periodically until an acquisition/preamble symbol is acquired. setting mncoen low holds the nco in a reset state; setting mn- coen high then reactivates the nco, where it is neces- sary to then reload the frequency control word into the
Z87200 zilog spread-spectrum transceiver ds96wrl0400 4-23 4 nco. note that mncoen operates independently of mtxen and mrxen, where those pins have similar con- trol over the transmit and receive circuitry, respectively. mncoen performs the same function as bit 0 of address 37 h , and these two signals are logically ored together to form the overall control function. when bit 0 of address 37 h is set low, mncoen controls the activity of the nco cir- cuitry; when mncoen is set low, bit 0 of address 37 h con- trols the activity of the nco circuitry. when either bit 0 or mncoen (whichever is in control, as defined above) goes low, a reset sequence occurs on the following rxifclk cycle to effectively disable all of the nco circuitry, al- though the user programmable control registers are not af- fected by this power down sequence. upon reactivation (when either mncoen or bit 0 of ad- dress 37 h return high), the nco must be reloaded with fre- quency control information either by means of the mfld input or by writing 01 h into address 00 h . mtxen (pin 17) manual transmitter enable. a rising edge on mtxen causes the transmit sequence to begin, where the Z87200 first transmits a single acquisition/preamble symbol fol- lowed by data symbols. mtxen should be set low after the last symbol has been transmitted. when mtxen is set low, power consumption of the transmitter circuit is mini- mized. mtxen operates independently of mrxen and mncoen, where these signals have similar control over the receive and nco circuitry, respectively. mtxen performs the same function as bit 1 of address 37 h . and these two signals are logically ored together to form the overall control function. when bit 1 of address 37 h is set low, mtxen controls the activity of the transmitter circuitry, and, when mtxen is set low, bit 1 of address 37h controls the activity of the transmitter circuitry. a rising edge on either mtxen or bit 1 (whichever is in control, as defined above) initiates a transmit sequence. a falling edge initiates a reset sequence on the following txifclk cycle to disable all of the transmitter data path, although the user programmable control registers are not affected by the power down sequence. mrxen (pin 10) manual receiver enable. mrxen allows power con- sumption of the Z87200 receiver circuitry to be minimized when the device is not receiving. with the instantaneous acquisition properties of the pn matched filter, it is often desirable to shut down the receiver circuitry to reduce pow- er consumption, resuming reception periodically until an acquisition/preamble symbol is acquired. setting mrxen low reduces the power consumption substantially. when mrxen is set high, the receiver will automatically power up in acquisition mode regardless of its prior state when it was powered down. mrxen operates independently of mtxen and mncoen, where these signals have similar control over the transmit and nco circuitry, respectively. mrxen performs the same function as bit 2 of address 37 h , and these two signals are logically ored together to form the overall control function. when bit 2 of address 37 h is set low, mrxen controls the activity of the receiver cir- cuitry and, when mrxen is set low, bit 2 of address 37 h controls the activity of the receiver circuitry. when either mrxen or bit 2 (whichever is in control, as defined above) goes low, a reset sequence begins on the following rxif- clk cycle and continues through a total of six rxifclk cycles to virtually disable all of the receiver data paths. the user-programmable control registers are not affected by the power-down sequence, with the exception of rxtest 7-0 function select (address 38 h ), which is reset to 0. if the rxtest 7-0 bus is being used to read any func- tion other than the pn matched filter i and q inputs, the value required must be rewritten after re-enabling the re- ceiver. txin (pin 18) transmit input. txin supports input of the information data to be transmitted by the Z87200. in bpsk mode, the transmitter requires one bit per symbol period; in qpsk mode, two bits are required per symbol period. to initiate and enable transmission of the data, the user must raise mtxen high. data for transmission is request- ed with txbitpls, where one or two pulses per symbol are generated depending on whether the device is in bpsk or qpsk mode as set by bit 0 of address 40 h . to al- low monitoring of the state of the transmitter, the Z87200 will pulse txacqpls after the initial acquisition/preamble symbol is transmitted; the transmission of each subse- quent symbol is indicated by pulses of txtrkpls. if programmed for bpsk mode, data is requested by the Z87200 by a rising edge of output signal txbitpls, where tkbitpls is generated once per symbol, one chip period before the end of the current symbol. at the end of the sym- bol duration, the txin data is latched into the device. tx- bitpls falls low immediately following the rising edge of txifclk, which latches the txin value, and is generated repeatedly at the symbol rate as long as the input signal mtxen remains high. in qpsk mode, data is requested by the Z87200 by a ris- ing edge of output signal txbitpls, where this signal is generated twice per symbol, first one chip period before the middle of the symbol and then one chip period before the end of the symbol. txbitpls requests the data exact- ly one chip cycle before latching the txin data into the de- vice. txbitpls falls low immediately following the rising edge of txifclk, which latches the txin value.
Z87200 spread-spectrum transceiver zilog 4-24 ds96wrl0400 functional blocks (continued) txmchp (pin 19) transmit manual chip pulse. txmchp enables the user to provide the pn chip rate clock pulses from an external source. this feature is useful in cases where a specific chip rate is required that cannot be derived by the internal clock generator which generates clocks of integer sub- multiples of txifclk. the signal is internally synchro- nized to txifclk to avoid intrinsic race or hazard timing conditions. when bit 2 of address 40 h is set high, a rising edge on txmchp will generate the chip clock to the differential en- coder and the following circuitry (acquisition/preamble and data symbol pn spreaders, etc.). the rising edge of txmchp is synchronized internally so that, on the third rising edge of txifclk following the rising edge of txm- chp, the pn code combined with the differentially encod- ed signal will change, generating the next chip. txifclk (pin 14) transmitter i.f. clock. txifclk is the master clock of the transmitter. all transmitter clocks, internal or external, are generated or synchronized internally to the rising edge of txifclk. the rate of txifclk must be at least twice the transmit pn chip rate. it may be convenient to use the same external signal for both txifclk and rxifclk, in which case the frequency of txifclk will be at least four times the pn chip rate as required for rxifclk. moreover, if the Z87200? on-chip bpsk/qpsk modulator is to be used, txifclk and rxifclk must be identical and should not exceed 20 mhz. mfld (pin 85) manual frequency load. mfld is used to load a fre- quency control value into the nco. the nco may be load- ed in various ways, but mfld provides a synchronized ex- ternal method of updating the nco, while the other methods involve setting bit 0 of address 00h or using the programmable loop filter timing circuitry. mfld is internal- ly synchronized to rxifclk to avoid internal race or haz- ard timing conditions. the mfld input and bit 0 of address 00h are logically ored together so that, when either one is held low, a rising edge on the other triggers the frequency load function manually. the rising edge of mfld is synchronized inter- nally so that, on the sixth following rising edge of rxif- clk, the frequency control word is completely registered into the nco accumulator. the frequency load command must not be repeated until the six rxifclk cycle delay is completed. /wr (pin 28) write bar. /wr is used to latch user-configurable informa- tion into the control registers. it is important to note that the control registers are transparent latches while /wr is set low. the information will be latched when /wr returns high. data 7-0 and addr 6-0 should be stable while /wr is set low in order to avoid undesirable effects. data 7-0 (pins 20-27) data bus. data 7-0 is an 8-bit microprocessor interface bus that provides access to all internal control register in- puts for programming. data 7-0 is used in conjunction with the addr 6-0 and /wr signals to set the values of the con- trol registers. addr 6-0 (pins 32-38) address bus. addr 6-0 is a 7-bit address bus that selects the control register location into which the information pro- vided on the data 7-0 bus will be written. addr 6-0 is used in conjunction with /wr and data 7-0 to write the informa- tion into the registers. /csel (pin 29) chip select bar. /csel is provided to enable or disable the microprocessor operation of the Z87200. when /csel is set high, the addr 6-0 and /wr become disabled and have no effect on the device. when /csel is set low, the device is in its normal mode of operation and addr 6-0 and /wr are active. /oen (pin 49) output enable bar. /oen is provided to enable or disable the rxtest 7-0 output bus. when /oen is set high, the rxtest 7-0 bus will have a high impedance, allowing it to be connected to other busses, such as data 7-0 . when /oen is set low, the rxtest 7-0 bus will be active, allowing the rxtest function selected to be accessed. /reset (pin 16) reset bar. /reset is the master reset of the Z87200, clearing the control registers as well as the contents within the receiver, transmitter, and nco data paths when it is set low. setting /reset high enables operation of the cir- cuitry.
Z87200 zilog spread-spectrum transceiver ds96wrl0400 4-25 4 output signals txiout (pin 77) transmitter in-phase output. txiout is the in-phase output transmission signal that has been differentially en- coded and pn spread. txiout changes on the rising edge of txifclk following the falling edge of txchppls. txqout (pin 76) transmitter quadrature-phase output. txqout is the quadrature-phase output transmission signal that has been differentially encoded and pn spread. txqout changes on the rising edge of txifclk following the fall- ing edge of txchppls. txifout 7-0 (pins 66-73) transmitter i.f. output. txifout 7-0 is the modulated transmit output signal from the on-chip bpsk/qpsk mod- ulator. the signal is composed of the sum of the modulat- ed txiout and txqout signals, modulated by the nco cosine and sine outputs, respectively. since the modulator is driven by the Z87200? nco, txifout 7-0 changes on the rising edges of rxifclk, and operation of the bpsk/qpsk modulator requires that rxifclk and txif- clk be identical and their common frequency not exceed 20 mhz. txifout 7-0 may be in either two? complement or offset binary format according to the setting of bit 1 of address 40 h . txacqpls (pin 60) transmitter acquisition pulse. txacqpls is an output signal generated at the final chip of the acquisition/pream- ble symbol. the acquisition/preamble symbol is generat- ed automatically by the Z87200 upon user command (ei- ther via bit 1 of address 37 h or mtxen input) and immediately precedes transmission of user data. txacq- pls is then provided to the user to indicate when the final chip of the acquisition/preamble symbol is being transmit- ted. txbitpls (pin 63) transmitter bit pulse. txbitpls is an output signal used to support transmission timing of user data for either bpsk or qpsk modes, as programmed by bit 0 of 40 h . in bpsk mode, user-provided data is requested by the Z87200 by a rising edge of txbitpls once per symbol. txbitpls requests the data one chip period before the txin data is latched into the device, and txbitpls falls low immediately following the rising edge of txifclk, where txifclk latches the txin value. in qpsk mode, user-provided data is requested by the Z87200 by a rising edge of output signal txbitpls which occurs twice per symbol, first one chip period before the middle of the symbol and then one chip period before the end of the symbol. txbitpls requests the data exactly one chip cycle period before the txin data is latched into the device. txbitpls falls low immediately following the rising edge of txifclk, where txifclk latches the txin value. in both bpsk and qpsk modes, the data must be valid on the second rising edge of txifclk after the rising edge of txbitpls. txchppls (pin 62) transmitter chip pulse. txchppls is an output signal used to support transmission timing for the device. txch- ppls pulses high for one txifclk cycle at the pn chip rate defined by the user. the chip rate is set either by pro- gramming a value in bits 5-0 of address 41 h or through use of the external txmchp signal. txtrkpls (pin 61) transmitter data track pulse. txtrkpls is an output signal that allows monitoring of data symbol transmis- sions. a rising edge of output signal txtrkpls occurs one chip period before the end of the current data symbol transmission. txtrkpls then falls low immediately fol- lowing the rising edge of txifclk. txactive (pin 78) transmitter active. a high level on txactive indicates that the transmitter is sending data symbols. this signal will be set high at the end of the acquisition/preamble sym- bol, indicating the start of the first chip of the first data sym- bol at the txiout and txqout pins. it will be set low at the end of the last chip period of the last data symbol of the burst at the txiout and txqout pins. rxout (pin 57) receiver output. rxout is the output data of the receiv- er following downconversion, despreading and demodula- tion. in bpsk mode, one data bit is provided per symbol; in qpsk mode, two data bits are provided per symbol with a half-symbol separation between the bits. note that, when the Z87200 is operated in burst mode, the data will be in- valid during the first symbol of each burst; that is, in bpsk mode the first bit will be invalid, and in qpsk mode the first two bits will be invalid. rxiout (pin 56) receiver i channel output. rxiout is the i channel out- put data before dibit-to-serial conversion. rxiout can be used in conjunction with the rxqout signal in applica- tions where the qpsk output data is required as parallel bit pairs. note that, when the Z87200 is operated in burst mode, the first bit of rxiout in each burst will be invalid rxqout (pin 55). receiver q channel output. rxqout is the q channel output data before dibit-to-serial conversion. rxqout can be used in conjunction with the rxiout signal in ap- plications where the qpsk data is required as parallel bit
Z87200 spread-spectrum transceiver zilog 4-26 ds96wrl0400 output signals (continued) pairs. note that, when the Z87200 is operated in burst mode, the first bit of rxqout in each burst will be invalid. /rxdrdy (pin 54) receiver data ready bar. /rxdrdy is provided as a re- ceiver timing signal. /rxdrdy is normally set high and pulses low during the baseband sampling clock cycle when a new rxout signal is generated. rxsplpls (pin 53) receiver sample pulse. rxsplpls is an output timing signal that provides internal timing information to the user. rxsplpls is the internally generated baseband sampling clock, referenced either externally or internally according to the setting of bit 0 of address 01 h . all receiver functions, excluding those in the downconverter, trigger internally on the rising edge of rxsplpls. rxsympls (pin 52) receiver symbol pulse. rxsympls is an output signal that provides the user internal timing information relative to the detection/correlation of symbols. symbol information from the pn matched filter, dpsk demodulator, and out- put processor is transferred on the rising edge of rxs- plpls preceding the falling edge of rxsympls. rxactive (pin 83) receiver active. a high level on rxactive indicates that the receiver has detected an acquisition/preamble symbol and is currently receiving data symbols. rxactive will be set high one bit period before the first rising edge of /rxdrdy, indicating that the first data bit is about to ap- pear at the rxout, rxiout, and rxqout pins. rxac- tive will be set low immediately following the last rising edge of /rxdrdy, indicating that the last data bit of the burst has been output at the rxout, rxiout, and rx- qout pins. rxtest 7-0 (pins 41-48) these pins provide access to 16 test points within the re- ceiver as shown in the pin outputs are selected according to the value in bits 3-0 of address 38 h and the assignments shown in when one of these 4-bit values is written into ad- dress 38 h , the corresponding function becomes available at the rxtest 7-0 outputs. the rxtest 7-0 bus is a tri- state bus and is controlled by the oen input. note that the validity of the rxtest 7-0 outputs at rxifclk speeds greater than 20 mhz is dependent on the output selected: outputs that change more rapidly than once per symbol may be indeterminate. table 4. receiver test functions rxtest 7-0 output bits 3-0 of 38 h bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 0 h mfqin 2-0 matched filter q input mfin2-0 matched filter i input 1 h pk-power 9-2 mf peak magnitude output (changes once per symbol) 2 h cos 7-0 cosine output of nco (changes every cycle of rxifclk) 3 h sin 7-0 sine output of nco (changes every cycle of rxifclk) 4 h dciout 16-9 downconverter i channel output (changes at rxifclk rate) 5 h dcqout 16-9 downcounter q output (changes at rxifclk rate) 6 h isum 9-2 matched filter i output (changes twice per chip) 7 h qsum 9-2 matched filter q output (changes twice per chip) 8 h power 9-2 mf magnitude output (changes twice per chip) 9 h isum 7-0 mf viewpoint i output (changes twice per chip) a h qsum 7-0 mf viewpoint q output (changes twice per chip) b h pk-isum 7-0 mf peak i channel output (changes once per symbol) c h pk-qsum 7-0 mf peak q channel output (changes once per symbol) d h dot 16-9 dot product (changes once per symbol) e h cross 16-9 cross product (changes once per symbol) f h txfbk 7-0 loopback test output
Z87200 zilog spread-spectrum transceiver ds96wrl0400 4-27 4 all signals available at this port, with one exception, are ex- pressed as two? complement values, ranging from ?28 to +127 (80 h to 7f h ). the pn matched filter power output values, available when the value in bits 3-0 of address 38 h is set to either 1 h or 8 h , is an unsigned binary number, ranging from 0 to 255 (0 h to ff h ). the reset sequence that occurs when the receiver is dis- abled will also reset the contents of address 38 h to a value of 0. if the rxtest 7-0 bus is to be used to observe any function other than the pn matched filter i and q inputs, then the appropriate value must be rewritten. txtest (pin 59) transmitter test output. txtest provides access to 3 test points within the transmitter as shown in the pin out- put is selected according to the state of the two least sig- nificant bits of the address line, addr 1-0 and the assign- ments shown in table 5. note that this method of accessing the transmitter test points is completely different than the method by which the receiver test points are ac- cessed. the state of the other address lines does not af- fect this function, and this function is always enabled. the availability of txtest output signals is only supported for txifclk speeds less than 20 mhz; output with clock speeds greater than 20 mhz will be indeterminate. table 5. transmitter test functions addr 1-0 txtest description 0 h ism unspread i symbol 1 h qsym unspread q symbol 2 h scode spreading code figure 10. transmitter and receiver test points
Z87200 spread-spectrum transceiver zilog 4-28 ds96wrl0400 control registers setting the control registers the majority of the Z87200 control registers are complete- ly independent and can be set or modified in any order. two exceptions, however, exist: n first, any time that the nco is disabled, either through use of pin mncoen or bit 0 of address 37 h , the frequency control word must be reloaded, either through use of pin mfld or bit 0 of address 00 h , once the nco is re-enabled. n second, setting bit 2 of address 37 h to zero to disable the receiver will also cause the data in address 38 h to be set to zero, thereby possibly changing the receiver test point(s) that will be observed on the rxtest pins. address 38 h must be loaded with its desired value after bit 2 of address 37 h is again set to 1. downconverter registers address 00 h : bit 0 ?frequency control word load this bit is used to load a frequency control value into the nco, thereby changing its output frequency. the signal is internally synchronized to rxifclk to avoid intrinsic race or hazard timing conditions. the loading of the nco may be performed by various means. setting this bit provides a synchronized internal means to control update of the nco. alternatively, the mfld pin or the Z87200? programmable loop filter timing circuitry may be used. the mfld input and bit 0 of address 00 h are logically ored together so that, when either one is held low, a rising edge on the other triggers the frequency load function manually. the rising edge of this bit is synchronized inter- nally so that, on the following sixth rising edge of rxif- clk, the frequency control word is completely registered into the nco accumulator. the frequency load command must not be repeated until after a delay of six rxifclk cy- cles. address 01 h : bit 0 ?manual sample clock enable this bit selects the source of the internal baseband sam- pling clock, which should be at twice the nominal pn chip rate. the clock reference may be either supplied externally by rxmsmpl or generated internally from rxifclk. when this bit is set high, the baseband sampling rate of the receiver is controlled by the external rxmsmpl signal. when it is set low, the sampling clock is generated inter- nally (at a rate determined by the sample rate control counter and set by bits 5-0 of address 02 h ) and the rxmsmpl input is ignored. bit 1 ?invert loop filter value this bit allows the sign of the output signal from the loop filter to be inverted, thereby negating the value of the sig- nal. the capability to invert the loop filter value permits the carrier frequency error component generated in the de- modulator to be either added to or subtracted from the fre- quency control word of the nco. the correct setting will depend on several factors, including whether high-side or low-side downconversion is used. when this bit is set low, the loop filter output is negated be- fore being summed with the frequency control word of the nco and is thus subtracted from the fcw; when this bit is set high, the loop filter output is not negated and is added to the fcw. bit 2 ?nco accumulator carry in this bit is primarily used as an internal test function and should be set low for normal operation. when this bit is set high, 1 lsb is added to the nco accumulator each clock cycle. when it is set low, the nco accumulator is not af- fected. bit 3 ?two? complement input the rxiin 7-0 and rxqin 7-0 input signals can be in either two? complement or offset binary formats. since all inter- nal processing in the device operates with two? comple- ment format signals, it is necessary to convert the rxiin 7- 0 and rxqin 7-0 inputs in offset binary format to two? com- plement format by inverting the msbs. when this bit is set high, the device expects two? comple- ment format inputs on rxiin 7-0 and rxqin 7-0 . when it is set low, the device expects offset binary format on rxiin 7- 0 and rxqin 7-0 . in two? complement format, the 8-bit in- put values range from ?28 to +127 (80 h to 7f h ); in offset binary format, the values range from 0 to +255 (00 h to ff h ).
Z87200 zilog spread-spectrum transceiver ds96wrl0400 4-29 4 bits 7-4 ?integrate and dump filter viewport control the Z87200 incorporates viewport (data selector) circuitry to select any three consecutive bits from the 14-bit output of the integrate and dump (i & d) filters in the downcon- verter block as the 3-bit inputs to the dual-channel pn matched filter. the signal levels of the integrate and dump filter i and q outputs reflect the input signal levels and the number of samples integrated before the filter con- tents are ?umped,?where the number of samples is deter- mined by the baseband sampling rate (nominally, twice the pn chip rate) and the i.f. sampling rate (rxifclk). set- ting the viewport thus effectively normalizes the i & d filter outputs before further processing. the unsigned value, n, of bits 7-4 of address 01 h determines the 3-bit inputs to the pn matched filter as the14-bit i & d filter outputs divided by 2 n . equivalently, bits 7-4 control the viewport of the in- tegrate and dump filter outputs as shown in note that viewport control affects both i and q channels of the inte- grate and dump filters. saturation protection is implemented for those cases when the integrate and dump filter output signal level overflows the scaled range selected for the pn matched filter. when the scaled value range is exceeded, the saturation protec- tion limits the output word to the maximum or minimum val- ue of the range according to whether the positive or nega- tive boundary was exceeded. address 02 h : bits 5-0 ?receiver baseband sampling (dump) rate control the baseband sampling rate should be set to twice the nominal pn chip rate of the received signal and must be less than or equal to half the rate of rxifclk. when bit 0 of address 01 h is set low, the baseband sampling clock for the integrate and dump filter and all subsequent receiver circuitry is referenced to rxifclk and generated internal- ly. the receiver baseband sampling rate is then set to the frequency of rxifclk/(n+1), where n is the value stored in bits 5-0 and must range from 1 to 63. this feature is use- ful in cases where a specific sample rate is required that is an integer sub-multiple of f rxifclk . in cases where a sam- ple rate is required that is not an integer sub-multiple of f rxifclk , an external baseband sampling rate can be pro- vided by the rxmsmpl input. addresses 03 h through 06 h : nco frequency control word the Z87200? internal nco is driven by a frequency con- trol word that is the sum of the frequency discriminator er- ror value (generated in the demodulator) and the 32-bit fre- quency control word (fcw) stored in this location. the four 8-bit registers at addresses 03 h to 06 h are used to store the 32-bit frequency control word as shown in the lsb of each byte is stored in bit 0 of each register. the nco frequency is then set by the fcw according to the following formula: in order to avoid in-band aliasing, f nco must not exceed 50% of f rxifclk ; normally, the fcw should be set so that f nco does not exceed ~35% of f rxifclk . while this limita- tion may seem to restrict use of the nco, higher i.f. trans- mit or receive frequencies can generally be achieved by using aliases resulting from digital sampling. the signal bandwidth with respect to f rxifclk , the modulation type, and the use of direct i.f. or quadrature sampling mode also restrict the choice of nco frequency, theory of oper- ation. pn matched filter registers despreading of the received signal is accomplished in the Z87200 with a dual (i and q channel) pn matched filter. furthermore, the Z87200 is designed for burst signal oper- ation, where each data burst begins with an acquisi- tion/preamble symbol and is then followed by the actual in- formation data symbols. two separate and independent pn codes can be employed, one for the acquisition/pre- amble symbol, the other for the information symbols. ac- cordingly, the pn matched filter is supported by two pn code registers to independently allow the programming of two distinct codes up to 64 chips in length. the pn codes are represented as a sequence of ternary-valued tap coef- table 6. integrate & dump filter viewport control bits 7-4 i & d bits output to matched filter 0 h 2-0 1 h 3-1 2 h 4-2 3 h 5-3 ?? ? ?? ? a h 12-10 b h 13-11 table 7. integrate & dump filter viewport control addr06h addr 05h addr04h addr03h bits 31-24 bits 23-16 bits 15-8 bits 7-0 f rxifclk x fcw 2 32 f nco = __________
Z87200 spread-spectrum transceiver zilog 4-30 ds96wrl0400 control registers (continued) ficients, each requiring 2 bits of storage according to the mapping shown in table 8. as a convention, tap 0 is the first tap as the received sig- nal enters the pn matched filter, and tap 63 is the last. all active taps of the pn matched filter, from tap 0 up to tap (n-1), where n is the length of the pn code, should be pro- grammed with tap coefficient values of +1 or -1 according to the pn code sequence. setting the end coefficients of the pn matched filter registers to zero values permits the effective length of the filter to be made shorter than 64 taps. addresses 07 h through 16 h : matched filter acquisition/preamble symbol coefficients addresses 07 h to 16 h contain the 64 2-bit acquisition/pre- amble pn code coefficient values. the 128 bits of informa- tion are stored in 16 8-bit registers at addresses 07 h to 16 h as shown in table 8. addresses 17 h through 26 h : matched filter data symbol coefficients addresses 17 h to 26 h contain the 64 2-bit data symbol pn code coefficient values. the 128 bits of information are stored in 16 8-bit registers at addresses 17 h to 26 h as shown in the contents of addresses 17 h to 26 h are inde- pendent of and not affected by the contents of addresses 07 h to 16 h . address 27 h : bit 0 ?front end processor disable the front end processor (fep) averages the two base- band samples per chip by adding consecutive pairs of samples. the function may be disabled for test purposes by using this bit: when set low, the fep is enabled and in its normal mode of operation; when set high, the fep is disabled. power estimator registers address 28 h : bits 1-0 ?matched filter viewport control the Z87200 incorporates viewport (data selector) circuitry to select any eight consecutive bits from the 10-bit outputs of the pn matched filter as the 8-bit inputs to the power estimator and dpsk demodulator blocks. the symbol tracking processor, however, operates on the full 10-bit pn matched filter outputs before the viewport is applied. the signal levels of the pn matched filter output reflect the number of chips per symbol and the signal-to-noise ra- tio of the signal. setting the viewport thus effectively nor- malizes the pn matched filter outputs prior to further pro- cessing. the unsigned value, n, of bits 1-0 of address 28 h determines the 8-bit input to the power estimator and dpsk demodulator blocks as the 10-bit pn matched filter output divided by 2 n . equivalently, bits 1-0 control the viewport of the pn matched filter output as shown in note table 8. pn matched filter tap values tap bits 1,0 tap coeff x0 0 01 +1 11 -1 table 9. acquisition/preamble coef?ient storage address 16 h bits 7,6 bits 5,4 bits 3,2 bits 1,0 coeff. 63 coeff. 62 coeff. 61 coeff. 60 address 15 h bits 7,6 bits 5,4 bits 3,2 bits 1,0 coeff. 59 coeff. 58 coeff. 57 coeff. 56 - - - - - - - - - - - - - - - - - - - - - - - - address 08 h bits 7,6 bits 5,4 bits 3,2 bits 1,0 coeff. 7 coeff. 6 coeff. 5 coeff. 4 address 07 h bits 7,6 bits 5,4 bits 3,2 bits 1,0 coeff. 3 coeff. 2 coeff. 1 coeff. 0 table 10. data symbol coef?ient storage address 26 h bits 7,6 bits 5,4 bits 3,2 bits 1,0 coeff. 63 coeff. 62 coeff. 61 coeff. 60 address 25 h bits 7,6 bits 5,4 bits 3,2 bits 1,0 coeff. 59 coeff. 58 coeff. 57 coeff. 56 - - - - - - - - - - - - - - - - - - - - - - - - address 18 h bits 7,6 bits 5,4 bits 3,2 bits 1,0 coeff. 7 coeff. 6 coeff. 5 coeff. 4 address 17 h bits 7,6 bits 5,4 bits 3,2 bits 1,0 coeff. 3 coeff. 2 coeff. 1 coeff. 0
Z87200 zilog spread-spectrum transceiver ds96wrl0400 4-31 4 that viewport control affects both i and q channels of the pn matched filter output. saturation protection is implemented for those cases when the pn matched filter output signal level overflows the scaled range selected for the power estimator and dpsk demodulator. when the scaled value range is exceeded, the saturation protection limits the output word to the max- imum or minimum value of the range according to whether the positive or negative boundary was exceeded. acquisition and tracking processor registers the acquisition and tracking processor registers allow the user to configure how the pn matched filter outputs for the acquisition/preamble symbol and the data symbols that follow thereafter are treated in the symbol tracking processor. since operation of the Z87200 receiver pre- sumes symbol-synchronous pn modulation, processing of the pn matched filter outputs can be used for symbol syn- chronization prior to dpsk demodulation. the acquisi- tion/preamble symbol and the data symbols may have dif- ferent pn spreading codes, however, and so the pn matched filter outputs may exhibit different signal levels due to the different code lengths and auto-correlation properties. the control registers in this block allow such differences to be treated, as well as permitting specifica- tion of the number of receive data symbols per burst and other parameters associated with burst data communica- tions. the i and q channel outputs of the pn matched filter are processed to estimate the correlation signal power at each baseband sampling instant. this estimated signal power is compared with the contents of the acquisition/preamble and data symbol threshold registers, as appropriate, to determine whether ?uccessful?correlation has been de- tected. successful detection in acquisition mode immedi- ately switches the receiver to despread and track the ex- pected subsequent data symbols, while successful detection thereafter yields symbol synchronization. the threshold register values must be set by the user to satis- factorily detect the correlation peak in noise obtained when the received pn-spread signal is correlated against a local version of the pn code by the pn matched filter. once the power estimation value exceeds the threshold register val- ue, a successful correlation is assumed to have been de- tected. further operations in the symbol tracking proces- sor then handle the possibility of multiple detects per symbol, missed detects, etc. the choice of the threshold values will be determined by several factors. arithmetically, the digital baseband sam- ples of the received signal are multiplied by the pn matched filter tap coefficients each baseband sample clock cycle and the results are summed to provide a corre- lation value. the i and q pn matched filter correlated out- put values are then used to estimate the signal power ac- cording to the following approximation: max{abs(i),abs(q)}+1/2 min{abs(i), abs(q)}. the magnitude of the estimated power thus depends on several variables, including the setting of the integrate and dump filter viewport, the pn code length and autocorrela- tion properties, and the magnitudes of the incoming rxiin 7-0 and rxqin 7-0 signals. the actual threshold val- ues that should be programmed will therefore vary from application to application. addresses 29 h and 2a h : acquisition/preamble threshold addresses 29 h and 2a h contain the unsigned acquisi- tion/preamble threshold value, as shown in this value is used for comparison with the estimated signal power from the pn matched filter to determine whether a successful correlation has been detected in acquisition mode. the acquisition/preamble threshold value must be set by the user to satisfactorily detect the correlation peak in noise obtained when the received pn-spread acquisition/pre- amble is correlated against a local version of the acquisi- tion/preamble pn code by the pn matched filter. once the power estimation value exceeds the threshold value, a successful correlation is assumed to have been detected. note that the symbol tracking processor does not insert missed detect pulses when the device is in acquisition mode. addresses 2b h and 2c h : data symbol threshold addresses 2b h and 2c h contain the data symbol thresh- old value, as shown in this value is used for comparison with the estimated signal power from the pn matched fil- ter to determine whether a successful correlation has been detected for each data symbol. the data symbol thresh- old value must be set by the user to satisfactorily detect the correlation peak in noise obtained when the received pn- spread data symbol is correlated against a local version of the data symbol pn code by the pn matched filter. once the power estimation value exceeds the threshold value, a successful correlation is assumed to have been detected. if bit 2 of address 30 h is set low, then the symbol acquisi- table 11. matched filter viewport control bits 1-0 isum, qsum 0 0 bits 7-0 0 1 bits 8-1 1 x bits 9-2 table 12. acquisition/preamble threshold storage addr 2a h addr 29 h bits 1-0 bits 7-0 acq. thresh. bits 9-8 acq. thresh. bits 7-0
Z87200 spread-spectrum transceiver zilog 4-32 ds96wrl0400 control registers (continued) tion processor will insert a detect pulse at the appropriate time if a successful correlation is not detected as expected a priori . address 2d h : bits 5-0 ?rx chips per data symbol the number of pn chips per data symbol in the receiver is controlled by address 2d h . the unsigned value must range from 1 to 63 (01 h to 3f h ), where the number of chips per data symbol will be this value plus 1. the a priori num- ber of pn chips per data symbol, where this value must be equal to the number of non-zero coefficients stored in the data symbol coefficient registers (addresses 17 h to 26 h ) for the pn matched filter, is used to help control symbol timing in the receiver. since acquisition is purely based on correlation of a single received acquisition/preamble sym- bol, the corresponding number of chips per acquisi- tion/preamble symbol is not required and no similar regis- ter is provided for such use. address 2e h : receiver data symbols per burst (bits 7-0) the data stored as two bytes in addresses 2e h (ls byte) and 3a h (ms byte) define the number of data symbols per burst. this unsigned value must range from 3 to 65,535 (0003 h to ffff h ), and the number of data symbols per burst will be this value minus 2, giving a range of 1 to 65,533. note that the range is slightly different from that supported by the Z87200? transmitter. once the number of received data symbols processed exceeds this number, the burst is assumed to have ended and the receiver im- mediately returns to acquisition mode, ready for the next burst. address 2f h : missed detects per burst threshold to monitor the reception quality of the received burst data symbols, the Z87200 incorporates a feature within its tracking algorithm that tallies the number of received data symbols whose pn matched filter correlation output did not exceed the data symbol threshold value. whenever a ?issed detect?occurs, the tracking algorithm will generate and insert a detect signal at the sample clock cycle corresponding to the expected correlation peak in or- der to maintain a continuous train of data symbols and symbol clocks. simultaneously, a ?issed detect?pulse will be generated internally and tallied for the current burst. when the accumulated number of missed detects is great- er than the value stored in address 2f h , the device will ter- minate reception of the current burst and return to acquisi- tion mode to await the next burst. the unsigned value in address 2f h must range from 1 to 255 (01 h to ff h ), where this value is the maximum num- ber of missed detects per burst allowed before the burst terminates. this function can be disabled by setting bit 5 of address 30 h high. address 30 h : bit 0 ?manual detect enable while the receiver is in acquisition mode, valid bursts may be ignored by setting this bit high. when it is set low (nor- mal operation), the detection of a burst? acquisition/pre- amble symbol is enabled. setting this bit high allows the user to force the device to ignore acquisition/preamble symbols that would normally be successfully acquired. this feature could be used, for example, in a system em- ploying multiple receivers with identical pn codes in a time division multiple access scheme where time-syn- chronized device management could be supported through dynamic setting of this bit. acquisition and tracking processor registers bit 1 ?manual punctual this bit enables the user to completely disable the internal tracking circuitry and force symbol information to be trans- ferred to the demodulator punctually at the symbol rate de- termined by the number of chips per data symbol informa- tion programmed into address 2d h . this function overrides the symbol tracking algorithm, although the ab- sence of a successful correlation will continue to be tallied as a missed detect and compared against the value stored in address 2f h to monitor signal quality unless disabled by bit 5 of address 30 h . when bit 1 is set low, the Z87200 will operate in its normal mode with symbol timing derived from the symbol tracking processor; when set high, symbol tim- ing is derived from the a priori number of chips per data symbol stored in bits 5-0 of address 2d h . bit 2 ?force continuous acquisition this bit enables the user to force the receiver to remain in acquisition mode even after successful detection of the acquisition/preamble symbol. when so commanded, the receiver will continuously process only acquisition/pream- ble symbols and will not switch from acquisition mode. this function may be used under manual control to receive a series of repeated acquisition/preamble symbols in order to increase the confidence level of burst detection before beginning demodulation of the data symbol information. when this bit is set high, the device will be locked in acqui- sition mode and the symbol tracking processor will not in- table 13. data symbol threshold storage addr 2c h addr 2b h bits 1-0 bits 7-0 data thresh. bits 9-8 data thresh. bid 7-0
Z87200 zilog spread-spectrum transceiver ds96wrl0400 4-33 4 sert missed detect pulses; when set low, normal operation will be enabled whereby data symbols are automatically processed immediately following detection of an acquisi- tion/preamble symbol. bit 3 ?bypass max. power selector the Z87200? receiver acquisition and tracking circuitry in- cludes a function that continuously selects the highest es- timated power level out of the three most recent consecu- tive estimated power levels from the pn matched filter. as the contents of the sliding 3-sample window change each cycle of the baseband sampling clock, a new determina- tion of the highest power level is made from the current set of the three most recent power level values. the correlated i and q channel values within the 3-sample window corre- sponding in time to the highest observed power level are then available to be processed in the demodulator. this function assures that, within any 3-sample period, the i and q channel values corresponding to the highest esti- mated power level will be selected over the two other pairs of correlated values even if the estimated power levels of the other pairs exceed the programmed threshold. the maximum power selector is used in normal operation of the Z87200 so that the tracking algorithm discriminates by estimated power levels rather than exact timing intervals, thereby allowing the receiver to adjust to dynamic changes of the symbol phase. in cases where specific correlation values are desired regardless of their associated power level, bit 3 of address 30 h enables the 3-sample power dis- criminator to be bypassed, thereby making the outputs of the pn matched filter available directly to the demodula- tor. when this bit is set high, the maximum power selector is bypassed; when it is set low, the selector is enabled, where this is the normal operating mode. bit 4 ?half symbol pulse off the Z87200 generates two bit clock pulses per symbol when operating in qpsk mode, one at the mid-point of each symbol and one at the end of each symbol. these clocks are used by the output processor to manage data flow. when this bit is set high, the mid-point pulse is sup- pressed; when it is set low, the device operates in its nor- mal mode. this function is primarily used for test purposes and should not normally be used. bit 5 ?missed detects per burst off to monitor the quality of the received burst data symbols, the symbol tracking processor keeps track of the cumu- lative number of received data symbols per burst whose estimated correlation power level did not exceed the spec- ified data symbol threshold value. when the accumulat- ed number of missed detects equals the missed detects per burst threshold value stored in address 2f h , the de- vice will terminate the reception of the current burst with the next missed detect and return to acquisition mode to await the next burst. when bit 5 is set low, the ?issed detect?function operates normally; when set high, this function is disabled, allowing the device to be operated until the end of the specified data burst even when the number of ?issed detects?exceeds the missed detects per burst threshold. bit 6 ?receiver symbols per burst off the data stored in addresses 2e h and 3a h defines the number of data symbols per burst that will be processed by the receiver. this unsigned value must range from 3 to 65,535 (0003 h to ffff h ), and the number of data symbols per burst will be this value minus 2. once the number of data symbols processed by the receiver exceeds this num- ber, the burst is assumed to have ended and the receiver will immediately return to acquisition mode. when bit 6 is set high, the function is disabled, providing an option to track data symbols under external control for bursts of more than 65,533 data symbols or indefinitely for continuous transmission; when set low, the function will operate normally as defined by the value stored in ad- dresses 2e h and 3a h . address 31 h : bit 0 ?manual detect pulse this bit provides the user a means to externally generate symbol timing, bypassing and overriding the internal sym- bol power estimation and tracking circuitry. this function may be useful in applications where the dynamic charac- teristics of the transmission environment require unusual adjustments to the symbol timing. when bit 0 of address 30 h is set high (manual detect en- able) and when rxmdet is low, a rising edge on this bit will generate a detect pulse. the function can also be per- formed by means of the rxmdet input signal. bit 0 of ad- dress 31 h and the rxmdet input are logically ored to- gether so that, when either one is held low, a rising edge on the other triggers the manual detect function. the rising edge of this bit is synchronized internally so that on the second rising edge of the baseband sampling clock that follows, the rising edge of bit 0 will transfer the i and q channel correlated output values of the pn matched filter to the dpsk demodulator. address 32 h : bit 0 ?receiver manual abort this bit enables the user to manually force the Z87200 to cease reception of the present burst of data symbols and prepare for acquisition of a new burst. this function can be used to reset the receiver and prepare to receive a priority transmission signal under precise timing control, giving the user the ability to control the current state of the receiver as needed.
Z87200 spread-spectrum transceiver zilog 4-34 ds96wrl0400 control registers (continued) when rxmabrt is set low, a rising edge on bit 0 of ad- dress 32 h will execute the abort function. the function can also be performed by means of the rxmabrt input. the rxmabrt input and bit 0 of address 32 h are logically ored together so that, when either one is held low, a rising edge on the other triggers the abort function. the second rising edge of the internal baseband sampling clock that follows a rising edge of this bit will execute the abort and also clear the symbols-per-burst, samples-per-symbol, and missed-detects-per-burst counters. the counters will be reactivated on the detection of the next acquisition/pre- amble symbol or by a manual detect signal. demodulator registers address 33 h : bits 1-0 ?signal rotation control these bits control the function of the signal rotation block used in demodulation of the differentially encoded bpsk, qpsk, or p /4 qpsk signals. the previous symbol will be rotated in phase with respect to the current symbol as shown in table 14, where i out and q out are the i and q channel outputs of the signal rotation block and i in and q in are the inputs. the normal settings are 0 x (no rota- tion) for bpsk and p /4 qpsk signals and 1 1 (?5 rota- tion) for conventional qpsk signals. bit 2 ?not used bit 2 of address 33 h is not used and must always be set low (0). bit 3 ?loop clear disable the setting of this bit determines whether the loop filter? k2 accumulator is reset or not when the Z87200 receiver function is turned off when the input signal mrxen is set low. when bit 3 is set low, the loop filter? k2 accumulator will be reset to zero whenever mrxen is set low to disable the receiver function. when bit 3 is set high, this function is dis- abled and the contents of the accumulator are not affected when mrxen transitions from high to low. the optimum setting of this bit will depend on the stability of the oscilla- tors used for carrier generation and frequency translation in the system and the length of the period between bursts. if the oscillators are stable and the period between bursts is not very long, the optimum setting of this bit will be low so that at the start of each burst the tracking loop will re- sume from its state at the end of the previous burst. if the oscillators are not stable or if the period between bursts is long with respect to the oscillators?stability, then the opti- mum setting may be high so that the tracking loop will re- start from its initial state at the start of each burst. bits 7-4 ?afc viewport control the Z87200 incorporates viewport (data selector) circuitry to select any eight consecutive bits from the 17-bit output of the frequency discriminator as the 8-bit input to the loop filter block to implement the Z87200? afc function. the unsigned value, n, of bits 7-4 of address 33 h deter- mines the 8-bit input to the loop filter as the 17-bit fre- quency discriminator output divided by 2 n . equivalently, bits 7-4 control the viewport of the frequency discrimina- tor output as shown in table 14. table 14. signal rotation control bits 1,0 i out q out resulting rotation 0, x i in q in no rotation 1,0 i in -q in q in +i in +45 rotation 1,1 i in + q in q in -i in -45 rotation table 15. afc viewport control bits 7-4 discrim. bits output to loop filter 0 h 7-0 1 h 8-1 2 h 9-2 3 h 10-3 ?? ? ?? ? 8 h 15-8 9 h 16-9 a h -f h not used
Z87200 zilog spread-spectrum transceiver ds96wrl0400 4-35 4 saturation protection is implemented for those cases when the frequency discriminator output signal level overflows the scaled range selected for the loop filter. when the scaled value range is exceeded, the saturation protection limits the output word to the maximum or minimum value of the range according to whether the positive or negative boundary was exceeded. address 34 h : bits 4-0 ?k2 gain value bits 4-0 control the gain factor k2 within the loop filter. the gain factor multiplies the signal before the k2 accumu- lator by a value of 2 n , where n is the 5-bit k2 gain value. the value must range from 0 to 21 (15 h ) as shown in table 15. bit 5 ?k2 on this bit enables or disables the k2 path of the loop filter. setting this bit low resets the k2 accumulator and keeps it reset; setting this bit high enables the path and turns on k2. bit 6 ?carry in one half when this bit is set high, the value of 1/2 of an lsb is add- ed to the accumulator of the k2 path of the loop filter each symbol period. this function can be useful in cases where the scale and gain functions that precede the accu- mulator produce quantized values with significant error. in such cases, the processing of two? complement numbers by the accumulator will compound the error over time. since truncation of two? complement numbers leads to a negative bias of 1/2 of an lsb when the error is random, adding 1/2 of an lsb per symbol can compensate by av- eraging the error to zero. when bit 6 of address 34 h is set high, a value of 1/2 will be added to the accumulator input each symbol cycle; when it is low, a zero will be added. address 35 h : bits 4-0 ?k1 gain value bits 4-0 control the gain factor k1 within the loop filter. the gain factor multiplies the signal by a value of 2 n , where n is the 5-bit k1 gain value. the value must range from 0 to 21 (15 h ), as shown in table 16. bit 5 ?k1 on this bit enables or disables the k1 path of the loop filter. setting this bit low disables the k1 path; setting this bit high enables the path and turns on k1. bit 6 ?freeze loop this bit enables the loop filter to be held constant during symbol cycles, thereby fixing the output frequency of the nco at the value established by the loop filter when bit 6 was set high. this function can be useful in cases where a carrier offset has been tracked by the loop filter and ad- ditional doppler offsets are to be ignored. when this bit is set high, it freezes the output of the loop filter; when it is set low, the loop filter is enabled and pro- cesses the frequency error information in the usual way. table 16. k2 gain values bits 4-0 gain in k2 path 00 h 2 0 01 h 2 1 ?? ? ?? ? 14 h 2 20 15 h 2 21 table 17. k1 gain values bits 4-0 gain in k1 path 00 h 20 01 h 21 14 h 2 20 15 h 2 21
Z87200 spread-spectrum transceiver zilog 4-36 ds96wrl0400 control registers (continued) output processor control registers address 36 h : bit 0 ?reverse i and q in qpsk mode, the order in which the received i and q bit information is output may be reversed by setting this bit high. this function has the effect of interchanging i and q channels. normally, when this bit is set low, the i-channel bit will precede the q-channel bit in each symbol period. when bit 0 is set high, the q-channel bit will precede the i- channel bit each symbol period. bit 1 ?bpsk enable this bit configures the output processor to output either one bit per symbol (bpsk mode) or two bits per symbol (qpsk mode). in addition, it enables the user to output the i-channel information only or the q-channel information only, depending on the value of bit 0. table 18 shows the configuration of the output processor for all combinations of the values of bits 0 and 1. bit 1 also sets the frequency discriminator into either bpsk or qpsk mode. the Z87200 receiver uses dot and cross product results generated within the dpsk demod- ulator to develop the error signal used to form a closed- loop afc for carrier frequency acquisition and tracking. when bit 1 is set high, the discriminator circuitry is in bpsk mode and the frequency discriminator function is calcu- lated as: cross 16-0 x dot msb . when bit 1 is set low, the discriminator circuitry is in qpsk mode and the frequency discriminator function is calcu- lated as: (cross 16-0 x dot msb ) ?(dot 16-0 x cross msb ). bit 2 ?invert output this bit inverts the output bits of both the i and q chan- nels. the inversion will occur at the output pins rxout, rxiout, and rxqout. when this bit is set low, the outputs are not inverted; when it is set high, the outputs are inverted. output processor control registers address 37 h : bit 0 ?nco enable the function of this bit is to allow the power consumed by the operation of the nco circuitry to be minimized when the Z87200 is not receiving. the nco can also be disabled while the Z87200 is transmitting provided that the Z87200? on-chip bpsk/qpsk modulator is not being used. with the instantaneous acquisition properties of the pn matched filter, it is often desirable to shut down the re- ceiver circuitry to reduce power consumption, resuming re- ception periodically until an acquisition/preamble symbol is acquired. setting bit 0 low holds the nco in a reset state; setting bit 0 high then reactivates the nco, where it is necessary to reload the frequency control word into the nco. note that this bit operates independently of bits 1 (transmitter enable) and 2 (receiver enable), where those bits have similar control over the transmit and re- ceive circuitry, respectively. bit 0 of address 37 h performs the same function as mn- coen, and these two signals are logically ored together to form the overall control function. when bit 0 is set low, mncoen controls the activity of the nco circuitry and, when mncoen is set low, bit 0 controls the activity of the nco circuitry. when either bit 0 or mncoen (whichever is in control, as defined above) goes low, a reset sequence occurs on the following rxifclk cycle to virtually disable all of the nco circuitry, although the user programmable control registers are not affected by the power down se- quence. upon reactivation (when either mncoen or bit 0 of address 37 h return high), the nco must be reloaded with frequency control information either by means of the mfld input or by writing 01 h into address 00 h . bit 1 ?transmitter enable a rising edge on this bit causes the transmit sequence to begin so that the Z87200 first transmits a single acquisi- tion/preamble symbol followed by data symbols. bit 1 of address 37 h should be set low after the last symbol has been transmitted to minimize power consumption of the transmitter circuit. bit 1 of address 37 h operates indepen- dently of bits 2 and 0, where those bits have similar control over the receive and nco circuitry, respectively. table 18. output processor modes bit 1 bit 0 output processor mode 0 0 qpsk mode with i-channel bit preceding q-channel bit 0 1 qpsk mode with q-channel bit preceding i-channel bit 1 0 bpsk mode with i-channel information output 1 1 bpsk mode with q-channel information output
Z87200 zilog spread-spectrum transceiver ds96wrl0400 4-37 4 when input signal mtxen is set low, bit 1 of address 37 h controls the activity of the transmit circuitry and, when mtxen is set low, bit 1 controls this function. when either bit 1 or mtxen (whichever is in control, as defined above) goes low, a reset sequence occurs on the following txif- clk cycle to virtually disable all of the transmitter data path, although the user programmable control registers are not affected by the power down sequence. bit 2 ?receiver enable the function of this bit is to allow power consumed by the operation of the receiver circuitry to be minimized when the device is not receiving. with the instantaneous acquisition properties of the pn matched filter, it is often desirable to shut down the receiver circuitry to reduce power consump- tion, resuming reception periodically until an acquisi- tion/preamble symbol is acquired. setting bit 2 low reduc- es the power consumption substantially. when bit 2 is set high, the receiver will automatically power up in acquisition mode regardless of its prior state when it was powered down. bit 2 of address 37 h operates independently of bits 1 and 0 of address 37 h , where these signals have similar control over the transmit and nco circuitry, respectively. bit 2 of address 37 h performs the same function as mrx- en, and these two signals are logically ored together to form the overall control function. when bit 2 of address 37 h is set low, mrxen controls the activity of the receiver cir- cuitry and, when mrxen is set low, bit 2 of address 37 h controls the activity of the receiver circuitry. when either bit 2 or mrxen (whichever is in control, as defined above) goes low, a reset sequence begins on the following rxif- clk cycle and continues through a total of six rxifclk cycles to virtually disable all of the receiver data paths. the user- programmable control registers are not affected by the power down sequence, with the exception of rxtest 7-0 (address 38 h ), which is reset to 0. if the rxtest 7-0 bus is being used to read any function other than the pn matched filter i and q inputs, the value must be rewritten. address 38 h : bits 3-0 ?rxtest 7-0 function select the data stored in bits 3-0 of address 38 h selects the sig- nal available at the rxtest 7-0 bus (pins 41-48). these pins provide access to 16 test points within the receiver ac- cording to the data stored in bits 3-0 of address 38 h and the assignments shown in the validity of the rxtest 7-0 outputs at rxifclk speeds greater than 20 mhz is de- pendent on the output selected: outputs that change more rapidly than once per symbol may be indeterminate. note that the reset sequence that occurs when the receiv- er is disabled will also reset the contents of address 38 h to a value of 0. if the rxtest7-0 bus is to be used to observe any function other than the pn matched filter i and q in- puts, then the appropriate value must be rewritten. address 39 h : bits 6-0 ?matched filter power saver the data stored in bits 6-0 of address 39 h allows the un- used sections of the pn matched filter to be turned off when the pn matched filter is configured to be less than 64 taps long for data symbols. all taps are always fully powered when the device is in acquisition mode. the pn matched filter is split into seven 9-tap sections, and the power to each section is controlled by the settings of bits 6-0 of address 39 h , as shown in table 19. power control is not provided for tap 0, the first tap of the pn matched filter, since tap 0 is always used no matter what the pn code length. setting a bit high in bits 6-0 of ad- dress 39 h turns off the power to the corresponding block of taps of the pn matched filter. the power should only be turned off to those blocks of taps for which all the tap coef- ficients in that block have been set to zero address 3a h : receiver data symbols per burst (bits 15-8) the data stored as two bytes in addresses 2e h (ls byte) and 3a h (ms byte) defines the number of data symbols per burst. this unsigned value must range from 3 to 65,535 (0003 h to ffff h ), and the number of data symbols per burst will be this value minus 2, giving a range of 1 to 65,533. note that the range is slightly different from that in the transmitter. once the number of received data symbols processed exceeds this number, the burst is assumed to have ended and the Z87200 immediately returns to acqui- sition mode to await the next burst. table 19. matched filter tap power control bit in addr. 39 h mf taps controlled 0 1-9 1 10-18 2 19-27 3 28-36 4 37-45 5 46-54 6 55-64
Z87200 spread-spectrum transceiver zilog 4-38 ds96wrl0400 control registers (continued) address 3b h : bit 0 ?matched filter loopback enable the Z87200 incorporates a loopback capability that feeds the encoded and spread transmit signals txiout and tx- qout directly into the pn matched filter inputs. this test mode allows the baseband portion of the system to be test- ed independently of the bpsk/qpsk modulator and downconverter. setting bit 0 of address 3b h high enables this loopback path; setting it low puts the device into its normal operating mode. bit 1 ?i.f. loopback enable the Z87200 incorporates a loopback capability that feeds the encoded, spread and modulated transmit signal txifout 7-0 directly into the receiver rxiin 7-0 input. this test mode allows the entire digital portion of the system to be tested. since only the i channel is provided as an input, i.f. loopback requires that the pn chip rate and rxifclk rate be consistent with direct i.f. sampling mode. setting bit 1 of address 3b h high enables this loopback path; setting it low puts the device into its normal operating mode. bits 3-2 ?receiver overlay select the Z87200 incorporates programmable overlay code generators in both the transmitter and receiver. when en- abled, the selected receiver overlay code is subtracted from the data symbols, one overlay bit per symbol in both bpsk and qpsk modes. no synchronization beyond the burst acquisition synchronization that is intrinsic to opera- tion of the Z87200 is required since the overlay code gen- erators in both the transmitter and the receiver are auto- matically reset at the start of each burst. the addition of the overlay code randomizes the transmitted data se- quence to guarantee that the spectrum of the transmitted signal will be adequately whitened and will not contain a small number of spectral lines even when the data itself is not random. three transmit and receive overlay codes can be selected, where they are each maximal length sequences with lengths of 63, 511 and 1023 symbols. the receiver overlay codes are enabled and selected by the settings of bits 3-2 of address 3b h , as shown in table 19. addresses 3c h through 3f h : unused transmit control registers address 40 h : bit 0 ?transmit bpsk this bit configures the transmitter for either bpsk or qpsk mode transmission. and differential encoding. if programmed for bpsk mode, data is requested by the Z87200 by a rising edge of output signal txbitpls, where tkbitpls is generated once per symbol, one chip period before the end of the current symbol. at the end of the symbol duration, the txin data is latched into the device. txbitpls falls low immediately following the rising edge of txifclk, which latches the txin value, and is generat- ed repeatedly at the symbol rate as long as the input signal mtxen remains high. in qpsk mode, data is requested by the Z87200 by a ris- ing edge of output signal txbitpls, where this signal is generated in this mode twice per symbol, first one chip pe- riod before the middle of the symbol and then one chip pe- riod before the end of the symbol. txbitpls requests the data exactly one chip cycle before latching the txin data into the device. txbitpls falls low immediately following the rising edge of txifclk, which latches the txin value. when bit 0 of address 40 h is set low, the transmitter is con- figured in qpsk mode; when it is set high, the transmitter is configured in bpsk mode. table 20. receiver overlay code select bits 3-2 in addr. 3b h overlay code length and polynomial 0 overlay code disabled 1 63: 1 +x -2 +x -3 +x -5 +x -6 2 511: 1 +x -2 +x -3 +x -5 +x -9 3 1023: 1 + x -2 +x -3 +x -5 +x -10
Z87200 zilog spread-spectrum transceiver ds96wrl0400 4-39 4 bit 1 ?offset binary output the txifout 7-0 output signals can be in either two? com- plement or offset binary formats. since all internal pro- cessing in the device uses two? complement format sig- nals, the msb of the two? complement modulated transmitter output must be inverted if the output is to be in offset binary format. when this bit is set high, the txifout 7-0 output will be in offset binary format and, when it is set low, the signal will be in two? complement format. in two? complement for- mat, the 8-bit output values range from ?28 to +127 (80 h to 7f h ); in offset binary format, the values range from 0 to +255 (00 h to ff h ). bit 2 ?manual chip clock enable this bit enables the pn chip rate to be controlled by either the internal chip rate clock generator or by the external in- put signal txmchp. the txmchp input allows the user to manually insert a single pn chip clock pulse or continu- ous stream of pulses. this feature is useful in cases where a specific chip rate is required that cannot be derived by the internal clock generator which generates clocks of in- teger sub-multiples of the frequency of txifclk. the sig- nal is internally synchronized to txifclk to avoid race or hazard timing conditions. when this bit is set high, txmchp will provide the pn chip rate clock; when it is set low, the clock will be provided by the internal chip rate clock generator controlled by bits 5-0 of address 41 h . bit 3 ?invert symbol this bit allows the user to invert the i and q channel bits following differential encoding and before being spread by the pn code. this function has the same effect as inverting the pn code, which may be useful in some cases. when this bit is set high, the encoded i and q channel bits will be inverted; when it is set low, the i and q channel bits will not be inverted. address 41 h : bits 5-0 ?txifclk cycles per chip bits 5-0 set the transmitter baseband pn chip rate to the frequency of txifclk/(n+1), where n is the value stored in bits 5-0. the value of the data stored in bits 5-0 must range from 1 to 63 (01 h to 3f h ). this feature is useful when the pn chip rate required is an integer sub-multiple of the frequency of txifclk. in cases where a chip rate is required that is not an integer sub-multiple of the frequency of txifclk, the rate may be controlled externally using txmchp. address 42 h : bits 5-0 ?tx chips per data symbol the number of chips per data symbol in the transmitter is stored in bits 5-0 of address 42 h . the unsigned value must range from 1 to 63 (01 h to 3f h ), and the number of chips per data symbol will be this value plus 1. this value con- trols data symbol timing in the transmitter. address 43 h : bits 5-0 ?tx chips per acquisition/preamble symbol the number of chips per acquisition/preamble symbol in the transmitter is stored in bits 5-0 of address 43 h . the un- signed value must range from 1 to 63 (01 h to 3f h ), and the number of chips per data symbol will be this value plus 1. this value controls the acquisition/preamble symbol tim- ing in the transmitter. addresses 44 h through 4b h : transmitter acquisition/preamble symbol code each Z87200 burst transmission begins with an acquisi- tion/preamble symbol and is then followed by the actual in- formation data symbols. two separate and independent pn codes can be employed, one for the acquisition/pre- amble symbol, the other for the information symbols. ac- cordingly, the Z87200 transmit pn code generators, like the receiver? pn matched filter, support independent pn codes up to 64 chips in length for the two modes. address- es 44 h to 4b h contain the binary transmitter acquisi- tion/preamble symbol pn code chip values, where the configuration of the stored bits is as shown in table 20. the length, n, of the acquisition/preamble symbol code is set by the value of (n-1) stored in bits 5-0 of address 43 h . an internal counter begins the transmission with the pn code chip corresponding to that value. the last chip trans- mitted per symbol is then code chip 0. note that this con- vention agrees with that used for the Z87200? pn matched filter: for a code of length n, code chip (n-1) will be the first chip transmitted and will first be processed by tap 0 of the pn matched filter; the last chip per symbol to be transmitted, however, will be chip 0, and at that time chip (n-1) will be processed by tap (n-1) and chip 0 by tap 0 to achieve peak correlation. operation with the sub- sequent data symbols is analogous. table 21. acquisition/preamble symbol codes addr 4b h , bits 7-0 code bits 63-56 addr 45 h , bits 7-0 code bits 15-8 addr 44 h , bits 7-0 code bits 7-0
Z87200 spread-spectrum transceiver zilog 4-40 ds96wrl0400 control registers (continued) address 4c h through 53 h : data symbol code addresses 4c h to 53 h contain the binary data symbol pn code sequence values. the storage capacity, assign- ments, and operation are similar to that of the acquisi- tion/preamble pn code sequence values. the configura- tion of the bits stored is as shown in table 22. transmit control registers address 54 h : bits 1-0 ?transmitter overlay select the Z87200 incorporates programmable overlay code generators in both the transmitter and receiver. when en- abled, the selected transmitter overlay code is subtracted from the data symbols, one overlay bit per symbol in both bpsk and qpsk modes. no synchronization is required since the codes in both the transmitter and the receiver are automatically synchronized by resetting the code genera- tors at the start of each burst. the addition of the overlay codes randomizes the transmitted data sequence to guar- antee that the spectrum of the transmitted signal will be ad- equately whitened and will not contain a small number of spectral lines even when the data itself is not random. three transmit and receive overlay codes can be selected, where they are each maximal length sequences with lengths of 63, 511 and 1023 symbols. the transmitter overlay codes are enabled and selected by the settings of bits 1-0 of address 54 h , as shown in table 23. bit 2 ?ransmitter symbols per burst off bit 2 of address 54 h is not used and must always be set low (0). address 55 h through 56 h : transmitter data symbols per burst (bits 15-0) the data stored as two bytes in addresses 55 h (ls byte) and 56 h (ms byte) defines the number of data symbols per burst for the transmitter. this unsigned value must range from 1 to 65,535 (0001 h to ffff h ), and the number of data symbols per burst will be this value plus 1. note that the range is slightly different from that in the receiver. once the number of transmitted data symbols exceeds this num- ber, the burst is assumed to have ended and the transmit- ter is immediately turned off. if the data value is set to 0000 h , then the symbols per burst counter is disabled, per- mitting the Z87200 to be used for continuous transmission of data. table 22. data symbol codes addr 53 h , bits 7-0 code bits 63-56 addr 4d h , bits 7-0 code bits 15-8 addr 4c h , bits 7-0 code bits 7-0 table 23. transmitter overlay code select bits 1-0 in addr. 54 h overlay code length and polynomial 0 overlay code disabled 1 63: 1+x -2 +x -3 +x -5 +x -6 2 511: 1+x -2 +x -3 +x -5 +x -9 3 1023: 1+x -2 +x -3 +x -5 +x -10
Z87200 zilog spread-spectrum transceiver ds96wrl0400 4-41 4 register summary table 24. register summary contents address bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 00 h nco load 01 h integrate and dump filter viewport control 2s c. input nco c?n inv. lf rxmsmpl 02 h receiver baseboard sampling rate control 03-06 h nco frequency control word (32 bits) 07-16 h matched filter acquisition/preamble symbol coef?ients 27 h fep disable 28 h mf viewport control 29-2a h acquisition/preamble symbol threshold, bits 9-0 2b-2c h data symbol threshold, bits 9-0 2d h receiver chips per data symbol 2e h receiver data symbols per burst, bits 7-0 2f h missed detects per burst threshold 30 h rx symb/ burst off missed det. per bst. off half symb pulse off bypass max power sel. force cont. acquis. manual punctual man. det. enable 31 h man. det. 32 h man. abort 33 h afc viewport control lf clr. dis. unused (0) signal rotation control 34 h carry in 1/2 k2 on k2 gain value 35 h l2 freeze k1 on k2 gain value 36 h inv. o/p bpsk en. rev. i & q 37 h rx. en. tx. en. nco en. 38 h rxtest7-0 function select 39 h matched filter power saver 3a h receiver data symbols per burst, bits 15-8 3b h receiver overlay sel if lpbk en mf lpbk en 3c-3f h 40 h inv. symb. txmxhp o?in. o/p tx bpsk 41 h txifclk cycles per chip 42 h tx chips per data symbol 43 h tx chips per acquisition/preamble symbol 44-4b h transmitter acquisition/preamble code (64 bits) 4c-53 h transmitterdata symbol code (64 bits) 54 h unused (0) transmitter overlay select
Z87200 spread-spectrum transceiver zilog 4-42 ds96wrl0400 theory of operation the Z87200 receiver? downconverter circuitry allows use of two distinct modes, where the mode chosen will depend upon the application. in applications where the received pn chip rate is less than approximately 1/8 of the i.f. sam- ple clock (rxifclk) rate, the Z87200 can be used with a single a/d converter (adc) and operate in direct i.f. sam- pling mode. for higher chip rate applications, it is neces- sary to use the Z87200 in the full quadrature sampling mode; that is, using a quadrature signal source, two adcs, and the on-chip nco in its quadrature mode. using the Z87200 with a single adc in direct i.f. sample mode direct i.f. sampling mode allows one rather than two adcs to be used, as will be explained below. if appropriate for the application, use of direct i.f. sampling mode can reduce the system cost since quadrature downconversion with its associated 90 signal separation and the second adc used in quadrature sampling mode are not required. the trade-off, however, is in the lower maximum pn chip rate that can be supported by the Z87200 in direct i.f. sampling mode as compared to the maximum rate that can be supported by quadrature sampling mode. in direct i.f. sampling mode, the sampled signal is pre- sented as input to the receiver? i channel input (rxiin) and the q channel input (rxqin) is held to zero (where ?ero?is defined by the adc input format ). as a result, only two of the four multipliers in the downconverter? complex multiplier are used and the device does not make a true single-sideband downconversion from i.f. to base- band. in quadrature sampling mode, by contrast, quadra- ture inputs to two adcs provide i and q inputs to the Z87200 and the full complex multiplier is used. an illustra- tion of the operation of direct i.f. sampling mode is shown in the frequency domain in figure 11, where the spectra have been drawn asymmetrically so that spectral inver- sions can be readily identified. figure 11. spectra of signals in direct i.f. sampling mode freq. input spectrum bandwidth: b 0 freq. 0 freq. spectrum after a/d 0 freq. spectrum after ideal digital low pass filter 0 freq. quadrature nco spectrum 0 Cf 1 freq. spectrum after mixer 0 spectrum of sampling process 2 f 1 f sa C2 f 1 f sa 1 2 3 4 5 6 Cf sa f sa Cf sa f sa Cf sa f sa Cf sa f sa Cf sa Cf 1 f 1 Cf 1 f 1
Z87200 zilog spread-spectrum transceiver ds96wrl0400 4-43 4 the spectrum of a real input signal with center (i.f.) fre- quency of f1 and signal bandwidth b is shown in line 1 of figure 13. the bandwidth b is the two-sided bandwidth, corresponding to a pn chip rate of 1/2 b mcps. note that throughout this discussion it is assumed that the signal bandwidth does not exceed 1/2f sa ; that is, b < 1/2f sa . oth- erwise, the mixing and sampling processes to be de- scribed will result in destructive in-band aliasing. also, clearly, the i.f. frequency must be able to support the sig- nal bandwidth; that is, 1/2bZ87200? nco provides a quadrature (sine and co- sine) output that defines a complex signal. line 4 shows its spectrum as an impulse at frequency -f1, where the minus sign reflects the signal? use in downconversion and the absence of a positive impulse at frequency +f1 results be- cause the nco output is truly complex. aliases of this im- pulse are shown offset by integer multiples of f sa to reflect the sampled nature of the nco output. when the input sampled signal of line 3 is then modulated with the com- plex signal of the Z87200? quadrature nco of line 4, the signal spectrum after mixing is as shown in line 5. the sec- tions shown inside the shaded areas are the aliases of the baseband signal beyond the nyquist frequency and are not of concern. the signals inside the primary baseband nyquist region (| f |<1/2 f sa ) consist of the desired signal and a spectrally reversed or inverted image signal with center frequency separated from that of the desired signal by 2 f1, twice the i.f. frequency before sampling. this im- age signal can be removed by a subsequent ideal low- pass filter as shown in line 6. in figure 13, the input signal is shown at a low i.f. frequen- cy such that f1 < 1/2 f sa ; that is, the signal is only defined inside the primary nyquist region. provided, however, that b < 1/2 f sa , that condition need not be true as long as the input spectrum is only defined for frequencies within a non- primary nyquist region; that is, defined only over frequen- cies f such that (n?/2)f sa <|f|<(n+1/2)f sa for positive integer n. direct i.f. sampling mode with this type of signal is shown in figure 14, where it can be seen that in line 3 the dia- gram? high frequency input has the same spectrum after sampling as does the low frequency input in figure 11; consequently, all subsequent operations are identical to those in figure 13. this result stems from the periodic nature of sampling: sampling an input frequency f1 is theoretically indistin- guishable from sampling an input frequency (n f sa + f1) for positive integer n and positive f1 < 1/2 f sa . a slightly differ- ent result obtains, however, when sampling an input fre- quency (n f sa - f1), again for positive integer n and positive f1 < 1/2 f sa . in this case, the positions of the spectrally in- verted and spectrally correct aliases will be interchanged when compared with an input frequency of (n f sa + f1). as a consequence, the desired baseband signal after down- conversion and filtering will also be spectrally inverted. this phenomenon is equivalent to high-side conversion; that is, downconversion of a signal by means of a local os- cillator at a frequency higher than the carrier frequency. if the modulation type is qpsk, demodulation of a spectrally inverted signal will result in the inversion of the q channel data (which can be readily corrected); if the modulation type is bpsk, there is no effect on the demodulated data.
Z87200 spread-spectrum transceiver zilog 4-44 ds96wrl0400 theory of operation (continued) the above discussion has assumed ideal low-pass filter- ing to recover the desired signal at baseband, but, in the Z87200? downconverter, an ideal low-pass filter is not available. the quadrature integrate and dump filter of the downconverter serves this purpose instead. the down- converter? integrate and dump filter is a decimation filter, integrating input samples over a programmable number of sample periods, n, so that the output sampling rate is (1/n)th of the input sampling rate and the i.f. sampling rate fsa is decimated to the baseband sampling rate. since the Z87200? pn matched filter requires two samples per chip, the baseband sampling rate must be at twice the pn chip rate and n must equal f sa /b. when the sampling rate is much greater than the signal bandwidth (or, equivalent- ly, the chip rate), the integrate and dump filter is most ef- fective in attenuating the unwanted aliased image. this performance can be seen from the transfer function g(w) of a decimation filter, where: g(w) = sin(w?/w?and w?= (2 p nf)/f sa . figure 13 shows a plot of the gain of this transfer function as a function of the normalized frequency (n f/f sa ). to ef- fect the desired low-pass filter and eliminate the aliased image in the baseband nyquist region appearing in line 5 of figure 11, the attenuation must be suitably high for fre- quencies greater than, in the worst case, 1/2 b. given a defined signal bandwidth b, however, judicious choice of f1 and f sa allows a higher break frequency to be chosen, as will be discussed. as an extreme worst case, if f1 = 1/4f sa and b=1/2f sa , cor- responding to the highest chip rate that can be handled for a given value of f sa , then the break frequency must be 1/2b (equal to 1/4f sa ). in this example, then, n = f sa /b=2 and the attenuation provided by the integrate and dump fil- ter is given by the curve of figure 13 for values of (n f/f sa ) greater than 1/2. as can be seen, the attenuation will be at least equal to the peak of the corresponding lobe or at least ~13 db. this sidelobe peak is a worst case, and much of the alias energy outside the desired band will be attenuated by more than 13 db. nonetheless, the pres- ence of unattenuated energy from the unwanted alias de- grades performance. it is for this reason that direct i.f. sampling mode is only recommended for received pn chip rates less than 1/8 f sa ; in other words, for b<1/4 f sa . the attenuation realized by the integrate and dump filter is then further determined by the choice of the i.f. frequency f 1 and the i.f. sampling rate f sa . figure 12. direct i.f. sampling mode with i.f. frequency (f sa +f 1 ) > sampling frequency f sa freq. input spectrum bandwidth: b 0 freq. 0 freq. spectrum after a/d 0 spectrum of sampling process 1 2 3 Cf sa C f 1 f sa + f 1 f sa Cf sa f sa Cf sa Cf 1 f 1
Z87200 zilog spread-spectrum transceiver ds96wrl0400 4-45 4 the choice of the i.f. frequency and sampling rate is cru- cial so that the unwanted alias of the signal in the base- band nyquist region lies as far as possible from the de- sired signal to permit maximum attenuation. the optimum separation of the desired signal and the unwanted alias oc- curs when the alias is centered at the bounds of the base- band nyquist region, | f | =1/2 f sa as shown in figure 14. in this case, the desired signal is equally spaced from the unwanted aliases in both the positive and negative fre- quency domains and f1 = 1/4 f sa . consider, then, the worst case appropriate for direct i.f. sampling mode. if b<1/4 f sa as has been said to be appropriate for direct i.f. sam- pling mode, then n=f sa /b=4, the break frequency is 3 /8 f sa or greater, and the attenuation provided by the in- tegrate and dump filter is given by the curve of figure 13 for values of (n f/f sa ) greater than 3/2. here, the attenua- tion is at least ~21 db, offering much better attenuation of the unwanted alias than in the previous worst case exam- ple. further analysis shows that if the input snr is 15 db, then the alias attenuated by 21 db will reduce the snr by approximately 1 db. figure 13. g( w ) = dom ( w ?/ w ? where w = (2 p nf)/f sa figure 14. optimum condition for bandpass sampling
Z87200 spread-spectrum transceiver zilog 4-46 ds96wrl0400 theory of operation (continued) the optimum choice of i.f. frequency discussed above can be extended beyond the primary nyquist region. since an i.f frequency of n f sa + f1 produces exactly the same result for any value of n, the general condition for optimum separation of the desired signal and the unwanted alias is: f1 = n f sa + 1 /4 f sa and b< 1 /2 f sa for positive integer n and positive b and f 1 . and, if care is taken to handle the effect of high side con- version, the following i.f. frequencies also fulfill the opti- mum condition: f1= n f sa 1/4 f sa and b< 1/2 f sa for positive integer n and positive b and f 1 . using the Z87200 with two adcs in quadra- ture sampling mode quadrature sampling mode requires that quadrature i and q channel i.f. inputs are sampled by two adcs and input to the Z87200? downconverter. all four multipliers of the downconverter? complex multiplier are then used to per- form true single sideband downconversion to baseband. quadrature inputs imply that the input signal is complex, and the input signal spectrum shown in line 1 of figure 15 is thus only single-sided with no mirror image spectral component. as a result, the image alias within the primary nyquist region associated with direct i.f. sampling mode does not appear and does not have to be attenuated by the integrate and dump filter. as in the prior discussion, this analysis holds as long as b < 1/2 f sa , 1/2 b < f1, and the input spectrum is only defined for frequencies within a sin- gle nyquist region; that is, non-zero over frequencies f such that: (n?/2)f sa <|f|<(n+1/2)f sa for positive integer n. figure 15. spectra of signals in quadrature sampling mode freq. input spectrum bandwidth: b 0 freq. 0 freq. spectrum after a/d 0 freq. spectrum after ideal digital low pass filter 0 freq. quadrature nco spectrum 0 Cf 1 freq. spectrum after mixer 0 spectrum of sampling process 2 f 1 f sa C2 f 1 f sa 1 2 3 4 5 6 Cf sa f sa Cf sa f sa Cf sa f sa Cf sa f sa Cf sa Cf 1 f 1 Cf 1 f 1
Z87200 zilog spread-spectrum transceiver ds96wrl0400 4-47 4 differential demodulation as noted in the preceding text, computation of the ?ot and ?ross?products is fundamental to operation of the dpsk demodulator and frequency discriminator. let i k and q k represent the i and q channel inputs, respectively, for the k th symbol after downconversion and despreading. the dot and cross products can then be defined as: dot(k) = i k i k-1 + q k q k-1 ; and, cross(k) = q k i k-1 - i k q k-1 in the complex domain, these products can be seen to have been defined to form the complex conjugate product between two input samples, one symbol apart. let the k th input sample, sin(k), be defined as: s in (k) = i(k) + j q(k), where i(k) and q(k) are the 8-bit peak power pn matched filter i and q channel outputs directed to the dpsk de- modulator. in polar form, s in (k) may be conveniently de- fined as: s in (k) = a(k)e j(k) with a(k) (k) = arctan simple substitution then shows that the complex conjugate product between consecutive symbols (with an arbitrary phase shift introduced to the previous symbol value) may be expressed as: s out (k)= s in (k) [s in (k?) . w fixed ] * = dot(k) + j cross(k) where w fixed = arbitrary fixed phase rotation; dot(k)= re[s out (k)]; and, cross(k)= im[s out (k)] * the fixed phase rotation w fixed has been introduced to later simplify the decision criteria. the ability to express real and imaginary parts of the complex conjugate product between consecutive symbols with the dot and cross products is the key to their use in dpsk demodulation. dbpsk demodulation in dpsk, the phase difference between successive sam- ples is due to the data modulation phase differences, d mod, plus any induced phase rotation between sym- bols, d rot, resulting from, for example, a frequency offset between the received signal? i.f. and that provided by the downconverter. for dbpsk, the data modulation differ- ences d mod can take only the values of 0 or 180 . ex- pressing the complex phase difference [(k)-(k-1)] in terms of these components, the decision can be seen to be based on: sout (k) =a(k) a(k-1) e j(k)* e -j(k-1) = a(k) * a(k1) * e j[ d mod (k)+ d rot (k)] for dbpsk, only the real part of sout(k), dot(k), is needed to determine the modulated phase transition: dot(k)= a(k) * a(k-1) * cos( d mod (k)+ d rot(k)) = a(k) * a(k-1) * cos( d rot (k)) where the sign is determined by the transmitted data since cos[ d mod (k)] = 1 * as a result, dot(k) ? a 2 (k) if the amplitude of the signal is constant for consecutive symbols and if the phase rotation d rot (k) between sym- bols is small. the Z87200 dpsk demodulator can thus use the sign of the dot product in order to make dbpsk symbol decisions without the introduction of any fixed phase rotation.
Z87200 spread-spectrum transceiver zilog 4-48 ds96wrl0400 theory of operation (continued) dqpsk demodulation for dqpsk modulation, the possible phase shifts be- tween successive symbols due to the modulation are 0 , 90 , 180 , and 270 . here, introduction of a phase shift ( w fixed ) of 45 to the previous symbol in the calculation of the dot and cross products is desired in order shift the possible phase differences to 45 , 135 , 225 , or 315 so that the dqpsk decision boundaries coincide with the signs of the dot and cross products. in the Z87200 dpsk demodulator, phase rotation is accomplished in the signal rotation block by the following transformation of the i and q channel values: i rot (k)=[ i(k) - q(k)]/2 for 45 rotation i rot (k)=[ i(k) + q(k)]/2 for ?5 rotation q rot (k)=[ i(k) + q(k)]/2 for 45 rotation q rot (k)=-[ i(k) + q(k)]/2 for ?5 rotation the divide-by-2 is part of the signal rotation function. this transformation is equivalent to multiplying by (1 j)/2 or (1/ ? 2)e j(fixed) where fixed is 45 . in this case, s out (k) be- comes: s out (k)=a(k).a(k-1)*e j(k)* e ?(k-1)* [ w fixed ]* =a(k).a(k-1)*e j[ d mod (k)+ d rot (k)]* (1/ ? 2)ej (fixed) so that dot(k) ? (1/ ? 2)a(k)*a(k-1)*cos( d mod (k) - fixed ) cross(k) ? (1/ ? 2)a(k)*a(k-1)*sin( d mod (k) - fixed ) where the phase rotation d rot (k) due to the frequency off- set between symbols has been assumed negligible. a summary of the dot(k) and cross(k) products for the possible values of d mod (k) and fixed is shown below, il- lustrating how the sign of the dot and cross products allow the symbol decision to be made: p /4 qpsk demodulation the Z87200 dpsk demodulator decision logic is de- signed so that correct dqpsk decisions are made with a signal rotation of fixed = ?5 . for p /4 qpsk modulation, however, the modulator itself inserts 45 between consec- utive symbols, and the possible phase shifts between suc- cessive symbols due to modulation are 45 , 135 , 225 , and 315 . as a result, the dpsk demodulator should be configured for p /4 qpsk with fixed =0 . dqpsk phasing and i/q channel reversal the Z87200 uses differential bpsk and qpsk modulation and demodulation, meaning that the data is modulated on the carrier as phase changes. at the demodulator, the data is recovered by monitoring the phase change over a sym- bol period. the Z87200 provides configuration control to specifically address dpsk phasing and i/q channel reversal: the sig- nal rotation control register, bits 0 and 1 of address 33 h , and the reverse i and q control register, bit 0 of address 36 h . the first register causes an insertion of 45 in phase between consecutive symbols at the receiver, while the second register switches the i and q channels presented to the dpsk demodulator. as discussed in the Z87200 ap- pendix, the introduction of a phase shift between consec- utive symbols changes the mapping of the input data with respect to the decision boundaries defined by the "cross" and "dot" product axes. assuming that the transmitted dqpsk modulation phas- ing is differentially encoded as defined in table 3, the phase shift between consecutive symbols should always be set to ?5 ; that is, bits 1 and 0 of address 33 h should be set to 11. similarly, when the transmission path from modulator to demodulator does not introduce a frequency (or phase direction) reversal, the "reverse i and q" control function should be disabled; that is, bit 0 of address 36h should be set to 0. note that, in the case of dbpsk, the phase increments are either 0 or 180 and frequency re- versal has no impact. if frequency reversal does take place, however, correct dqpsk demodulation can be achieved by enabling i and q reversal; that is, the entry into bit 0 of address 36 h should be set to 1. frequency reversal may occur in the up or down conversion process, depending on which mixing product is selected for further processing. no reversal oc- curs when the following conditions exist: when the mixing () q(k) i(k) . i 2 (k)+q 2 (k) ?ed = -45 ?ed = +45 d mod (k) dot(k) cross (k) d mod (k) dot(k) cross (k) 0 +a 2 +a 2 0 +a 2 ? 2 90 ? 2 +a 2 90 +a 2 +a 2 180 ? 2 ? 2 180 ? 2 +a 2 270 +a 2 ? 2 270 ? 2 ? 2
Z87200 zilog spread-spectrum transceiver ds96wrl0400 4-49 4 at the transmitter is performed by processing the sum fre- quency of the local oscillator and the modulator; when the mixing at the receiver is performed by subtracting the local oscillator from the incoming signal; and when the in-phase and quadrature inputs into the i and q analog-to-digital converters are correctly connected such that the in-phase component leads the quadrature component by 90 . un- der these conditions, bit 0 of address 36 h should be set to 0; otherwise, the i and q channels may need to be re- versed at the dpsk demodulator (by setting bit 0 of ad- dress 36 h to 1) in order to achieve proper demodulation. frequency error signal generation the frequency discriminator function or error signal is gen- erated based on the dot and cross products. the objec- tive is an error signal that is proportional to the sine of the phase difference between the present and prior symbol af- ter correcting for the estimated phase increments due to data modulation. in the Z87200 frequency discriminator, the frequency error is calculated through a decision-direct- ed cross-product algorithm and is then used with the loop filter to correct the nco frequency. assuming an input sin(k), where: s in (k) = i(k) + j q(k), the algorithm calculates the frequency discriminator func- tion for dbpsk, s afc/bpsk (k), as: s afc/bpsk (k)=sign[dot(k)]*cross(k) =sign[dot(k)]*a(k)*a(k-1)*sin((k)-(k-1)) =sign[dot(k)]*a(k)*a(k-1)*sin( d mod(k) + d rot(k)) ? sign[dot(k)]*a2(k)*cos[ d mod(k)]*sin[ d rot(k)] ? a2(k)*sin[ d rot(k)]* the final result assumes that the amplitude of the signal is constant over consecutive symbols and shows that the discriminator function is directly related to the change in phase between successive symbols. since the interval be- tween successive symbols is fixed, the discriminator func- tion can be interpreted as a frequency error signal. for dqpsk signals, the Z87200 computes the discrimina- tor function s afc/qpsk (k) as: s afc/qpsk( k)=sign[dot(k)] cross(k) - sign[cross(k)] dot(k), where the above expression can be reduced to the same as for dbpsk, s afc/qpsk (k) ? a2(k)*sin( d rot(k)). bpsk/qpsk modulation the Z87200 incorporates a direct digital synthesizer (dds) to implement its on-chip bpsk/qpsk modulator. in the Z87200 design, the nco and thus the sampling clock for the modulator is driven by frxifclk; for this reason, both txifclk and rxifclk must be common if the on- chip bpsk/qpsk modulator is to be used. the bpsk/qpsk modulator can then be used to generate the transmit output signal at a programmable if frequency, thereby eliminating the need for an external modulator. because it is a sampled data system like the downconvert- er of the Z87200, however, care must be taken to ensure that the results of aliasing do not adversely affect the out- put transmit signal.
Z87200 spread-spectrum transceiver zilog 4-50 ds96wrl0400 theory of operation (continued) in general, when a dds is used to generate an unmodu- lated signal, the stepped sine wave generated by the dds has spectral components at integer multiples of the dds sampling clock. in other words, the Z87200? bpsk/qpsk modulator, when programmed to generate a signal at i.f. frequency f out , will produce spectral components at f out as well as at (n rxifclk f out ), where n is a positive or negative integer. because of these aliases, one generally cannot program the nco to provide an output frequency f out greater than the nyquist frequency f rxifclk/2 . when the i.f. frequency f out is modulated, however, degrada- tions to the output signal due to aliasing can result even when f out is less than f rxifclk/2 . in particular, the Z87200? pn modulation results in a transmit signal that has a power spectral density charac- terizable as a sinc function (sin(x)/x) centered about the i.f. frequency f out . nulls of the sinc function occur at inte- ger multiples of the pn chip rate, and the null-to-null signal bandwidth of the Z87200? transmit signal about f out is twice the transmit chip rate. the presence of modulation sidelobes and their interaction with aliases due to sam- pling, however, will result in distortion of the mainlobe of the baseband component centered at f out unless atten- tion is paid to the interaction of the chip rate, the i.f. fre- quency f out , and the sampling rate frxifclk. in the example of figure 18, the spectrum drawn in bold represents a signal where f out has been programmed to be (0.4 x f rxifclk ) and has been pn-modulated at a chip rate of (0.1 x f rxifclk ). the first alias of the negative fre- quency version of this signal appears centered about (0.6 x f rxifclk ) and is shown as the lighter curve. as can be seen, energy of the second and third modulation sidelobes of the first alias is present within the mainlobe of the base- band component, resulting in distortion. one would typical- ly filter the digital-to-analog converted output of the Z87200? bpsk/qpsk modulator to remove the energy outside the modulation mainlobe, but such filtering will not affect any aliasing distortion within the mainlobe as de- scribed here. note that the nulls of the modulated signal aliases in this example coincide here only due to the choice of values for the i.f. frequency, sampling rate, and pn chip rate; in general, the nulls will not coincide. note also that the filtering effect of sampling has been neglected in this discussion ?in general, the aliases will be sup- pressed by a second sinc function, sin(f?/(f?, where f?= p f/f rxifclk , but this effect is not very significant for the baseband component and first alias. figure 16. spectrum of dds modulated at 0.1 x f rxifclk when carrier frequency is set to 0.4 x f rxifclk
Z87200 zilog spread-spectrum transceiver ds96wrl0400 4-51 4 the example of figure 18 demonstrates that aliasing dis- tortion of the bpsk/qpsk modulator output will result if significant energy of the baseband component? spectrum falls beyond the nyquist frequency of f rxifclk/2 . the first alias will then shift that energy into the region below the nyquist frequency and potentially interfere with the desired signal. in figure 19 the second and third sidelobes of the first alias fall within the mainlobe of the baseband compo- nent, where the magnitude of this corrupting signal is ap- proximately ?3 dbc. in figure 20, by contrast, the level of distortion is consider- ably reduced by programming an i.f. frequency that in- creases the separation of the baseband mainlobe from the alias mainlobe. here, the carrier frequency has been re- duced to 0.25 x f rxifclk , and now the fourth and fifth side- lobes of the first alias lie in the same part of the spectrum as the baseband mainlobe, reducing the distorting energy to approximately ?3 dbc at the peak of the fourth side- lobe. figure 17. spectrum of dds modulated at 0.1 x f rxifclk when carrier frequency is set to 0.25 x f rxifclk
Z87200 spread-spectrum transceiver zilog 4-52 ds96wrl0400 theory of operation (continued) in both of the cases shown above, and especially the sec- ond, the level of the distortion is low enough so that the performance penalty would not be very great. and, of course, in a spread-spectrum system the effective distor- tion is reduced by the processing gain realized in de- spreading the signal at the receiver. in both of these exam- ples, however, the pn chip rate is a very modest 10% of the frequency of the system clock; if the chip rate is in- creased to 40% of f rxifclk , then the situation is very dif- ferent, as shown in figure 20. in figure 20, both the chip rate and the carrier frequency have been set at 40% of the clock frequency. as a result, the baseband mainlobe straddles the nyquist frequency, and the first alias of the mainlobe overlaps the spectrum of the baseband mainlobe, thereby creating very significant aliasing distortion which cannot be eliminated by filtering. this level of distortion would severely affect the perfor- mance of the system and, in general, would be completely unacceptable. figure 18. spectrum of dds modulated at 0.4 x f rxifclk when carrier frequency is set to 0.4 x f rxifclk
Z87200 zilog spread-spectrum transceiver ds96wrl0400 4-53 4 reducing the carrier frequency to 25% of the clock fre- quency can reduce the distortion level, as shown in figure 21. although the distortion is still fairly severe, adequate performance may be obtainable as a result of the system? processing gain, but the performance would be many db off the theoretical limit. as the pn chip rate of the system increases, then so, too, does the effect of aliasing distor- tion in the modulator, resulting in performance degrada- tion. as a rule-of-thumb, one may restrict the i.f. frequency to 25% of the clock frequency, but, in general, each appli- cation and combination of pn chip rate, i.f. frequency, and txifclk/rxifclk frequency is unique and should be evaluated before deciding whether to use the Z87200? in- ternal bpsk/qpsk modulator. figure 19. spectrum of dds modulated at 0.4 x f rxifclk when carrier frequency is set to 0.25 x f rxifclk


▲Up To Search▲   

 
Price & Availability of Z87200

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X